|
LLDB mainline
|
#include "lldb/Utility/ArchSpec.h"#include "lldb/Utility/LLDBLog.h"#include "lldb/Utility/Log.h"#include "lldb/Utility/StringList.h"#include "lldb/lldb-defines.h"#include "llvm/ADT/STLExtras.h"#include "llvm/BinaryFormat/COFF.h"#include "llvm/BinaryFormat/ELF.h"#include "llvm/BinaryFormat/MachO.h"#include "llvm/BinaryFormat/XCOFF.h"#include "llvm/Support/Compiler.h"#include "llvm/TargetParser/AMDGPUTargetParser.h"#include "llvm/TargetParser/ARMTargetParser.h"Go to the source code of this file.
Classes | |
| struct | lldb_private::CoreDefinition |
| struct | ArchSpecValidator< I > |
| struct | ArchSpecValidator< ArchSpec::kNumCores > |
| struct | ArchDefinitionEntry |
| struct | ArchDefinition |
Namespaces | |
| namespace | lldb_private |
| A class that represents a running process on the host machine. | |
Macros | |
| #define | CPU_ANY (UINT32_MAX) |
| #define | SUBTYPE_MASK 0x00FFFFFFu |
| #define | X(NUM, ENUM, NAME) |
Variables | |
| static constexpr const CoreDefinition | g_core_definitions [] |
| ArchSpecValidator< ArchSpec::eCore_arm_generic > | validator |
| static const ArchDefinitionEntry | g_macho_arch_entries [] |
| static const ArchDefinition | g_macho_arch_def |
| static const ArchDefinitionEntry | g_elf_arch_entries [] |
| static const ArchDefinition | g_elf_arch_def |
| static const ArchDefinitionEntry | g_coff_arch_entries [] |
| static const ArchDefinition | g_coff_arch_def |
| static const ArchDefinitionEntry | g_xcoff_arch_entries [] |
| static const ArchDefinition | g_xcoff_arch_def |
| static const ArchDefinition * | g_arch_definitions [] |
| #define CPU_ANY (UINT32_MAX) |
Definition at line 305 of file ArchSpec.cpp.
| #define SUBTYPE_MASK 0x00FFFFFFu |
Definition at line 312 of file ArchSpec.cpp.
| #define X | ( | NUM, | |
| ENUM, | |||
| NAME ) |
Referenced by EmulateInstructionARM64::EmulateBOrBl(), EmulateInstructionARM64::EmulateCBZ(), EmulateInstructionARM64::EmulateMOVRegister(), and GetAMDGPUVariantName().
|
static |
Definition at line 1514 of file ArchSpec.cpp.
References cores_match_one_direction().
Referenced by lldb_private::ArchSpec::IsMatch().
|
static |
Definition at line 1195 of file ArchSpec.cpp.
References lldb_private::ArchSpec::eCore_arm_aarch64, lldb_private::ArchSpec::eCore_arm_arm64, lldb_private::ArchSpec::eCore_arm_arm64_32, lldb_private::ArchSpec::eCore_arm_arm64e, lldb_private::ArchSpec::eCore_arm_arm64ex1, lldb_private::ArchSpec::eCore_arm_armv6m, lldb_private::ArchSpec::eCore_arm_armv7, lldb_private::ArchSpec::eCore_arm_armv7em, lldb_private::ArchSpec::eCore_arm_armv7f, lldb_private::ArchSpec::eCore_arm_armv7k, lldb_private::ArchSpec::eCore_arm_armv7l, lldb_private::ArchSpec::eCore_arm_armv7m, lldb_private::ArchSpec::eCore_arm_armv7s, lldb_private::ArchSpec::eCore_arm_armv8, lldb_private::ArchSpec::eCore_arm_armv8l, lldb_private::ArchSpec::eCore_arm_generic, lldb_private::ArchSpec::eCore_mips32, lldb_private::ArchSpec::eCore_mips32el, lldb_private::ArchSpec::eCore_mips32r2, lldb_private::ArchSpec::eCore_mips32r2el, lldb_private::ArchSpec::eCore_mips32r3, lldb_private::ArchSpec::eCore_mips32r3el, lldb_private::ArchSpec::eCore_mips32r5, lldb_private::ArchSpec::eCore_mips32r5el, lldb_private::ArchSpec::eCore_mips32r6, lldb_private::ArchSpec::eCore_mips32r6el, lldb_private::ArchSpec::eCore_mips64, lldb_private::ArchSpec::eCore_mips64el, lldb_private::ArchSpec::eCore_mips64r2, lldb_private::ArchSpec::eCore_mips64r2el, lldb_private::ArchSpec::eCore_mips64r3, lldb_private::ArchSpec::eCore_mips64r3el, lldb_private::ArchSpec::eCore_mips64r5, lldb_private::ArchSpec::eCore_mips64r5el, lldb_private::ArchSpec::eCore_mips64r6, lldb_private::ArchSpec::eCore_mips64r6el, lldb_private::ArchSpec::eCore_x86_64_amd64, lldb_private::ArchSpec::eCore_x86_64_x86_64, lldb_private::ArchSpec::eCore_x86_64_x86_64h, lldb_private::ArchSpec::kCore_any, lldb_private::ArchSpec::kCore_arm_any, lldb_private::ArchSpec::kCore_arm_first, lldb_private::ArchSpec::kCore_arm_last, lldb_private::ArchSpec::kCore_hexagon_any, lldb_private::ArchSpec::kCore_hexagon_first, lldb_private::ArchSpec::kCore_hexagon_last, lldb_private::ArchSpec::kCore_mips32_first, lldb_private::ArchSpec::kCore_mips32_last, lldb_private::ArchSpec::kCore_mips32el_first, lldb_private::ArchSpec::kCore_mips32el_last, lldb_private::ArchSpec::kCore_mips64_first, lldb_private::ArchSpec::kCore_mips64_last, lldb_private::ArchSpec::kCore_mips64el_first, lldb_private::ArchSpec::kCore_mips64el_last, lldb_private::ArchSpec::kCore_ppc64_any, lldb_private::ArchSpec::kCore_ppc64_first, lldb_private::ArchSpec::kCore_ppc64_last, lldb_private::ArchSpec::kCore_ppc_any, lldb_private::ArchSpec::kCore_ppc_first, lldb_private::ArchSpec::kCore_ppc_last, lldb_private::ArchSpec::kCore_thumb_first, lldb_private::ArchSpec::kCore_thumb_last, lldb_private::ArchSpec::kCore_x86_32_any, lldb_private::ArchSpec::kCore_x86_32_first, lldb_private::ArchSpec::kCore_x86_32_last, lldb_private::ArchSpec::kCore_x86_64_any, lldb_private::ArchSpec::kCore_x86_64_first, and lldb_private::ArchSpec::kCore_x86_64_last.
Referenced by cores_match().
|
static |
Definition at line 673 of file ArchSpec.cpp.
References FindArchDefinitionEntry(), and FindCoreDefinition().
Referenced by GetCPUSubType(), and GetCPUType().
|
static |
Definition at line 485 of file ArchSpec.cpp.
References g_arch_definitions.
Referenced by lldb_private::ArchSpec::SetArchitecture().
|
static |
Definition at line 524 of file ArchSpec.cpp.
References ArchDefinition::entries, and ArchDefinition::num_entries.
|
static |
Definition at line 510 of file ArchSpec.cpp.
References ArchDefinition::entries, and ArchDefinition::num_entries.
Referenced by FindArchDefEntryIfCoreIsValid(), and lldb_private::ArchSpec::SetArchitecture().
|
inlinestatic |
Definition at line 502 of file ArchSpec.cpp.
References g_core_definitions.
|
static |
Definition at line 494 of file ArchSpec.cpp.
References g_core_definitions.
Referenced by lldb_private::ArchSpec::CoreUpdated(), FindArchDefEntryIfCoreIsValid(), lldb_private::ArchSpec::GetAddressByteSize(), lldb_private::ArchSpec::GetArchitectureName(), lldb_private::ArchSpec::GetDefaultEndian(), lldb_private::ArchSpec::GetMachine(), lldb_private::ArchSpec::GetMaximumOpcodeByteSize(), lldb_private::ArchSpec::GetMinimumOpcodeByteSize(), lldb_private::ArchSpec::SetArchitecture(), and lldb_private::ArchSpec::UpdateCore().
|
static |
Definition at line 897 of file ArchSpec.cpp.
References X.
Referenced by lldb_private::ArchSpec::SetArchitecture().
|
static |
Definition at line 687 of file ArchSpec.cpp.
References FindArchDefEntryIfCoreIsValid(), and LLDB_INVALID_CPUTYPE.
Referenced by ObjectContainerUniversalMachO::GetArchitectureAtIndex(), and lldb_private::ArchSpec::GetMachOCPUSubType().
|
static |
Definition at line 680 of file ArchSpec.cpp.
References FindArchDefEntryIfCoreIsValid(), and LLDB_INVALID_CPUTYPE.
Referenced by ObjectContainerUniversalMachO::GetArchitectureAtIndex(), and lldb_private::ArchSpec::GetMachOCPUType().
|
static |
Definition at line 1024 of file ArchSpec.cpp.
Referenced by lldb_private::ArchSpec::IsMatch().
|
static |
|
static |
Definition at line 455 of file ArchSpec.cpp.
|
static |
Definition at line 443 of file ArchSpec.cpp.
|
staticconstexpr |
Definition at line 45 of file ArchSpec.cpp.
Referenced by lldb_private::ArchSpec::AutoComplete(), FindCoreDefinition(), FindCoreDefinition(), and lldb_private::ArchSpec::ListSupportedArchNames().
|
static |
Definition at line 436 of file ArchSpec.cpp.
|
static |
Definition at line 398 of file ArchSpec.cpp.
|
static |
Definition at line 388 of file ArchSpec.cpp.
Referenced by lldb_private::ArchSpec::GetMachOCPUSubType(), and lldb_private::ArchSpec::GetMachOCPUType().
|
static |
Definition at line 315 of file ArchSpec.cpp.
|
static |
Definition at line 469 of file ArchSpec.cpp.
|
static |
Definition at line 463 of file ArchSpec.cpp.
| ArchSpecValidator<ArchSpec::eCore_arm_generic> validator |
Definition at line 278 of file ArchSpec.cpp.