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/Support/Compiler.h"
Go to the source code of this file.
Classes | |
struct | lldb_private::CoreDefinition |
struct | ArchDefinitionEntry |
struct | ArchDefinition |
Namespaces | |
lldb_private | |
A class that represents a running process on the host machine. | |
Macros | |
#define | CPU_ANY (UINT32_MAX) |
#define | SUBTYPE_MASK 0x00FFFFFFu |
Functions | |
static bool | cores_match (const ArchSpec::Core core1, const ArchSpec::Core core2, bool try_inverse, bool enforce_exact_match) |
static const ArchDefinition * | FindArchDefinition (ArchitectureType arch_type) |
static const CoreDefinition * | FindCoreDefinition (llvm::StringRef name) |
static const CoreDefinition * | FindCoreDefinition (ArchSpec::Core core) |
static const ArchDefinitionEntry * | FindArchDefinitionEntry (const ArchDefinition *def, uint32_t cpu, uint32_t sub) |
static const ArchDefinitionEntry * | FindArchDefinitionEntry (const ArchDefinition *def, ArchSpec::Core core) |
static bool | IsCompatibleEnvironment (llvm::Triple::EnvironmentType lhs, llvm::Triple::EnvironmentType rhs) |
Variables | |
static const CoreDefinition | g_core_definitions [] |
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 ArchDefinition * | g_arch_definitions [] |
static const size_t | k_num_arch_definitions |
#define CPU_ANY (UINT32_MAX) |
Definition at line 267 of file ArchSpec.cpp.
#define SUBTYPE_MASK 0x00FFFFFFu |
Definition at line 274 of file ArchSpec.cpp.
|
static |
Definition at line 1081 of file ArchSpec.cpp.
Referenced by lldb_private::ArchSpec::IsEqualTo().
|
static |
Definition at line 456 of file ArchSpec.cpp.
References g_arch_definitions, k_num_arch_definitions, and ArchDefinition::type.
Referenced by lldb_private::ArchSpec::SetArchitecture().
|
static |
Definition at line 496 of file ArchSpec.cpp.
References ArchDefinition::entries, and ArchDefinition::num_entries.
|
static |
Definition at line 482 of file ArchSpec.cpp.
References ArchDefinition::entries, and ArchDefinition::num_entries.
Referenced by lldb_private::ArchSpec::GetMachOCPUSubType(), lldb_private::ArchSpec::GetMachOCPUType(), and lldb_private::ArchSpec::SetArchitecture().
|
inlinestatic |
Definition at line 474 of file ArchSpec.cpp.
References g_core_definitions.
|
static |
Definition at line 466 of file ArchSpec.cpp.
References g_core_definitions, and lldb_private::CoreDefinition::name.
Referenced by lldb_private::ArchSpec::CoreUpdated(), lldb_private::ArchSpec::GetAddressByteSize(), lldb_private::ArchSpec::GetArchitectureName(), lldb_private::ArchSpec::GetDefaultEndian(), lldb_private::ArchSpec::GetMachine(), lldb_private::ArchSpec::GetMachOCPUSubType(), lldb_private::ArchSpec::GetMachOCPUType(), lldb_private::ArchSpec::GetMaximumOpcodeByteSize(), lldb_private::ArchSpec::GetMinimumOpcodeByteSize(), lldb_private::ArchSpec::SetArchitecture(), and lldb_private::ArchSpec::UpdateCore().
|
static |
Definition at line 939 of file ArchSpec.cpp.
Referenced by lldb_private::ArchSpec::IsEqualTo().
|
static |
|
static |
Definition at line 437 of file ArchSpec.cpp.
|
static |
Definition at line 418 of file ArchSpec.cpp.
|
static |
Definition at line 42 of file ArchSpec.cpp.
Referenced by lldb_private::ArchSpec::AutoComplete(), FindCoreDefinition(), and lldb_private::ArchSpec::ListSupportedArchNames().
|
static |
Definition at line 411 of file ArchSpec.cpp.
|
static |
Definition at line 352 of file ArchSpec.cpp.
|
static |
Definition at line 343 of file ArchSpec.cpp.
Referenced by lldb_private::ArchSpec::GetMachOCPUSubType(), and lldb_private::ArchSpec::GetMachOCPUType().
|
static |
Definition at line 277 of file ArchSpec.cpp.
|
static |
Definition at line 449 of file ArchSpec.cpp.
Referenced by FindArchDefinition().