LLDB mainline
RegisterTypeBuilder.h
Go to the documentation of this file.
1//===-- RegisterTypeBuilder.h -----------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_TARGET_REGISTER_TYPE_BUILDER_H
10#define LLDB_TARGET_REGISTER_TYPE_BUILDER_H
11
13#include "lldb/lldb-private.h"
14
15namespace lldb_private {
16
18public:
19 ~RegisterTypeBuilder() override = default;
20
21 virtual CompilerType GetRegisterType(const std::string &name,
22 const lldb_private::RegisterFlags &flags,
23 uint32_t byte_size) = 0;
24
25protected:
27
28private:
31};
32
33} // namespace lldb_private
34
35#endif // LLDB_TARGET_REGISTER_TYPE_BUILDER_H
Generic representation of a type in a programming language.
Definition: CompilerType.h:36
virtual CompilerType GetRegisterType(const std::string &name, const lldb_private::RegisterFlags &flags, uint32_t byte_size)=0
RegisterTypeBuilder(const RegisterTypeBuilder &)=delete
~RegisterTypeBuilder() override=default
const RegisterTypeBuilder & operator=(const RegisterTypeBuilder &)=delete
A class that represents a running process on the host machine.