LLDB mainline
RegisterTypeBuilderClang.h
Go to the documentation of this file.
1//===-- RegisterTypeBuilderClang.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_PLUGINS_REGISTERTYPEBUILDER_REGISTERTYPEBUILDERCLANG_H
10#define LLDB_PLUGINS_REGISTERTYPEBUILDER_REGISTERTYPEBUILDERCLANG_H
11
13#include "lldb/Target/Target.h"
14
15namespace lldb_private {
17public:
19
20 static void Initialize();
21 static void Terminate();
22 static llvm::StringRef GetPluginNameStatic() {
23 return "register-types-clang";
24 }
25 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
26 static llvm::StringRef GetPluginDescriptionStatic() {
27 return "Create register types using TypeSystemClang";
28 }
30
31 CompilerType GetRegisterType(const std::string &name,
32 const lldb_private::RegisterFlags &flags,
33 uint32_t byte_size) override;
34
35private:
37};
38} // namespace lldb_private
39
40#endif // LLDB_PLUGINS_REGISTERTYPEBUILDER_REGISTERTYPEBUILDERCLANG_H
Generic representation of a type in a programming language.
Definition: CompilerType.h:36
CompilerType GetRegisterType(const std::string &name, const lldb_private::RegisterFlags &flags, uint32_t byte_size) override
static lldb::RegisterTypeBuilderSP CreateInstance(Target &target)
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::RegisterTypeBuilder > RegisterTypeBuilderSP
Definition: lldb-forward.h:394