1 //===-- ArchitectureArm.h ---------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_PLUGIN_ARCHITECTURE_ARM_H
10 #define LLDB_PLUGIN_ARCHITECTURE_ARM_H
12 #include "lldb/Core/Architecture.h"
14 namespace lldb_private {
16 class ArchitectureArm : public Architecture {
18 static ConstString GetPluginNameStatic();
19 static void Initialize();
20 static void Terminate();
22 ConstString GetPluginName() override;
23 uint32_t GetPluginVersion() override;
25 void OverrideStopInfo(Thread &thread) const override;
27 lldb::addr_t GetCallableLoadAddress(lldb::addr_t load_addr,
28 AddressClass addr_class) const override;
30 lldb::addr_t GetOpcodeLoadAddress(lldb::addr_t load_addr,
31 AddressClass addr_class) const override;
34 static std::unique_ptr<Architecture> Create(const ArchSpec &arch);
35 ArchitectureArm() = default;
38 } // namespace lldb_private
40 #endif // LLDB_PLUGIN_ARCHITECTURE_ARM_H