1 //===-- ArchitectureArm.h ---------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_PLUGIN_ARCHITECTURE_ARM_H
11 #define LLDB_PLUGIN_ARCHITECTURE_ARM_H
13 #include "lldb/Core/Architecture.h"
15 namespace lldb_private {
17 class ArchitectureArm : public Architecture {
19 static ConstString GetPluginNameStatic();
20 static void Initialize();
21 static void Terminate();
23 ConstString GetPluginName() override;
24 uint32_t GetPluginVersion() override;
26 void OverrideStopInfo(Thread &thread) const override;
28 lldb::addr_t GetCallableLoadAddress(lldb::addr_t load_addr,
29 AddressClass addr_class) const override;
31 lldb::addr_t GetOpcodeLoadAddress(lldb::addr_t load_addr,
32 AddressClass addr_class) const override;
35 static std::unique_ptr<Architecture> Create(const ArchSpec &arch);
36 ArchitectureArm() = default;
39 } // namespace lldb_private
41 #endif // LLDB_PLUGIN_ARCHITECTURE_ARM_H