LLDB mainline
ArchitectureArm.h
Go to the documentation of this file.
1//===-- ArchitectureArm.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_SOURCE_PLUGINS_ARCHITECTURE_ARM_ARCHITECTUREARM_H
10#define LLDB_SOURCE_PLUGINS_ARCHITECTURE_ARM_ARCHITECTUREARM_H
11
13
14namespace lldb_private {
15
17public:
18 static llvm::StringRef GetPluginNameStatic() { return "arm"; }
19 static void Initialize();
20 static void Terminate();
21
22 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
23
24 void OverrideStopInfo(Thread &thread) const override;
25
27 AddressClass addr_class) const override;
28
30 AddressClass addr_class) const override;
31
32private:
33 static std::unique_ptr<Architecture> Create(const ArchSpec &arch);
34 ArchitectureArm() = default;
35};
36
37} // namespace lldb_private
38
39#endif // LLDB_SOURCE_PLUGINS_ARCHITECTURE_ARM_ARCHITECTUREARM_H
An architecture specification class.
Definition: ArchSpec.h:31
llvm::StringRef GetPluginName() override
static std::unique_ptr< Architecture > Create(const ArchSpec &arch)
lldb::addr_t GetCallableLoadAddress(lldb::addr_t load_addr, AddressClass addr_class) const override
Get load_addr as a callable code load address for this target.
static llvm::StringRef GetPluginNameStatic()
void OverrideStopInfo(Thread &thread) const override
This is currently intended to handle cases where a program stops at an instruction that won't get exe...
lldb::addr_t GetOpcodeLoadAddress(lldb::addr_t load_addr, AddressClass addr_class) const override
Get load_addr as an opcode for this target.
A class that represents a running process on the host machine.
uint64_t addr_t
Definition: lldb-types.h:80