| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | ArchSpec.cpp | 25 static bool cores_match(const ArchSpec::Core core1, const ArchSpec::Core core2, 36 ArchSpec::Core core; 44 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_generic, 46 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv4, 48 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv4t, 50 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5, 52 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5e, 54 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5t, 56 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv6, 58 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv6m, [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
| H A D | OptionValueArch.h | 26 OptionValueArch(const ArchSpec &value) in OptionValueArch() 29 OptionValueArch(const ArchSpec ¤t_value, const ArchSpec &default_value) in OptionValueArch() 55 ArchSpec &GetCurrentValue() { return m_current_value; } in GetCurrentValue() 57 const ArchSpec &GetCurrentValue() const { return m_current_value; } in GetCurrentValue() 59 const ArchSpec &GetDefaultValue() const { return m_default_value; } in GetDefaultValue() 61 void SetCurrentValue(const ArchSpec &value, bool set_value_was_set) { in SetCurrentValue() 67 void SetDefaultValue(const ArchSpec &value) { m_default_value = value; } in SetDefaultValue() 70 ArchSpec m_current_value; 71 ArchSpec m_default_value;
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | ArchSpec.h | 31 class ArchSpec { 280 ArchSpec(); 285 explicit ArchSpec(const llvm::Triple &triple); 286 explicit ArchSpec(const char *triple_cstr); 287 explicit ArchSpec(llvm::StringRef triple_str); 292 explicit ArchSpec(ArchitectureType arch_type, uint32_t cpu_type, 296 ~ArchSpec(); 372 void MergeFrom(const ArchSpec &other); 494 bool IsMatch(const ArchSpec &rhs, MatchType match) const; 497 bool IsExactMatch(const ArchSpec &rhs) const { in IsExactMatch() [all …]
|
| H A D | ProcessInfo.h | 35 ProcessInfo(const char *name, const ArchSpec &arch, lldb::pid_t pid); 62 ArchSpec &GetArchitecture() { return m_arch; } in GetArchitecture() 64 const ArchSpec &GetArchitecture() const { return m_arch; } in GetArchitecture() 66 void SetArchitecture(const ArchSpec &arch) { m_arch = arch; } in SetArchitecture() 129 ArchSpec m_arch; 150 ProcessInstanceInfo(const char *name, const ArchSpec &arch, lldb::pid_t pid) in ProcessInstanceInfo() 323 bool ArchitectureMatches(const ArchSpec &arch_spec) const;
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
| H A D | ThreadElfCore.cpp | 86 ArchSpec arch = process->GetArchitecture(); in CreateRegisterContextForFrame() 260 size_t ELFLinuxPrStatus::GetSize(const lldb_private::ArchSpec &arch) { in GetSize() 275 case lldb_private::ArchSpec::eCore_x86_32_i386: in GetSize() 276 case lldb_private::ArchSpec::eCore_x86_32_i486: in GetSize() 287 const ArchSpec &arch) { in Parse() 334 size_t ELFLinuxPrPsInfo::GetSize(const lldb_private::ArchSpec &arch) { in GetSize() 344 case lldb_private::ArchSpec::eCore_s390x_generic: in GetSize() 345 case lldb_private::ArchSpec::eCore_x86_64_x86_64: in GetSize() 347 case lldb_private::ArchSpec::eCore_x86_32_i386: in GetSize() 348 case lldb_private::ArchSpec::eCore_x86_32_i486: in GetSize() [all …]
|
| H A D | ThreadElfCore.h | 57 const lldb_private::ArchSpec &arch); 64 static size_t GetSize(const lldb_private::ArchSpec &arch); 78 const lldb_private::ArchSpec &arch); 85 static size_t GetSize(const lldb_private::ArchSpec &arch); 113 const lldb_private::ArchSpec &arch); 120 static size_t GetSize(const lldb_private::ArchSpec &arch);
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | Platform.h | 108 static ArchSpec GetAugmentedArchSpec(Platform *platform, 231 virtual ArchSpec GetRemoteSystemArchitecture() { in GetRemoteSystemArchitecture() 232 return ArchSpec(); // Return an invalid architecture in GetRemoteSystemArchitecture() 315 const ArchSpec &arch, ModuleSpec &module_spec); 327 virtual std::vector<ArchSpec> 328 GetSupportedArchitectures(const ArchSpec &process_host_arch) = 0; 349 virtual bool IsCompatibleArchitecture(const ArchSpec &arch, 350 const ArchSpec &process_host_arch, 351 ArchSpec::MatchType match, 352 ArchSpec *compatible_arch_ptr); [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/OpenBSD/ |
| H A D | PlatformOpenBSD.h | 26 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch); 45 std::vector<ArchSpec> 46 GetSupportedArchitectures(const ArchSpec &process_host_arch) override; 52 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr, 57 std::vector<ArchSpec> m_supported_architectures;
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/FreeBSD/ |
| H A D | PlatformFreeBSD.h | 27 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch); 46 std::vector<ArchSpec> 47 GetSupportedArchitectures(const ArchSpec &process_host_arch) override; 53 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr, 60 std::vector<ArchSpec> m_supported_architectures;
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/NetBSD/ |
| H A D | PlatformNetBSD.h | 27 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch); 46 std::vector<ArchSpec> 47 GetSupportedArchitectures(const ArchSpec &process_host_arch) override; 55 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr, 62 std::vector<ArchSpec> m_supported_architectures;
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | Disassembler.h | 186 bool DumpEmulation(const ArchSpec &arch); 190 bool Emulate(const ArchSpec &arch, uint32_t evaluate_options, void *baton, 413 FindPlugin(const ArchSpec &arch, const char *flavor, const char *plugin_name); 417 const ArchSpec &arch, 426 static lldb::DisassemblerSP DisassembleRange(const ArchSpec &arch, 434 DisassembleBytes(const ArchSpec &arch, const char *plugin_name, 439 static bool Disassemble(Debugger &debugger, const ArchSpec &arch, 446 static bool Disassemble(Debugger &debugger, const ArchSpec &arch, 450 Disassembler(const ArchSpec &arch, const char *flavor); 453 void PrintInstructions(Debugger &debugger, const ArchSpec &arch, [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/ |
| H A D | ObjectFileCOFF.cpp | 128 specs.Append(ModuleSpec(file, ArchSpec("i686-unknown-windows-msvc"))); in GetModuleSpecifications() 131 specs.Append(ModuleSpec(file, ArchSpec("x86_64-unknown-windows-msvc"))); in GetModuleSpecifications() 134 specs.Append(ModuleSpec(file, ArchSpec("armv7-unknown-windows-msvc"))); in GetModuleSpecifications() 137 specs.Append(ModuleSpec(file, ArchSpec("aarch64-unknown-windows-msvc"))); in GetModuleSpecifications() 166 ArchSpec ObjectFileCOFF::GetArchitecture() { in GetArchitecture() 169 return ArchSpec("i686-unknown-windows-msvc"); in GetArchitecture() 171 return ArchSpec("x86_64-unknown-windows-msvc"); in GetArchitecture() 173 return ArchSpec("armv7-unknown-windows-msvc"); in GetArchitecture() 175 return ArchSpec("aarch64-unknown-windows-msvc"); in GetArchitecture() 177 return ArchSpec(); in GetArchitecture() [all...] |
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | Platform.cpp | 205 const ArchSpec &arch, ModuleSpec &module_spec) { in GetModuleSpec() 227 ArchSpec Platform::GetAugmentedArchSpec(Platform *platform, llvm::StringRef triple) { in GetAugmentedArchSpec() 251 ArchSpec arch(GetSystemArchitecture()); in GetStatus() 763 ArchSpec process_host_arch; in ResolveExecutable() 765 for (const ArchSpec &arch : GetSupportedArchitectures(process_host_arch)) { in ResolveExecutable() 813 const ArchSpec &Platform::GetSystemArchitecture() { in GetSystemArchitecture() 847 ArchSpec Platform::GetAugmentedArchSpec(llvm::StringRef triple) { in GetAugmentedArchSpec() 849 return ArchSpec(); in GetAugmentedArchSpec() 851 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec() 852 return ArchSpec(triple); in GetAugmentedArchSpec() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterContextLinux_s390x.cpp | 20 static const RegisterInfo *GetRegisterInfoPtr(const ArchSpec &target_arch) { in GetRegisterInfoPtr() 30 static uint32_t GetRegisterInfoCount(const ArchSpec &target_arch) { in GetRegisterInfoCount() 40 static uint32_t GetUserRegisterInfoCount(const ArchSpec &target_arch) { in GetUserRegisterInfoCount() 51 const ArchSpec &target_arch) in RegisterContextLinux_s390x()
|
| H A D | RegisterContextNetBSD_x86_64.cpp | 93 GetRegisterInfo_i386(const lldb_private::ArchSpec &arch) { in GetRegisterInfo_i386() 117 PrivateGetRegisterInfoPtr(const lldb_private::ArchSpec &target_arch) { in PrivateGetRegisterInfoPtr() 130 PrivateGetRegisterCount(const lldb_private::ArchSpec &target_arch) { in PrivateGetRegisterCount() 147 PrivateGetUserRegisterCount(const lldb_private::ArchSpec &target_arch) { in PrivateGetUserRegisterCount() 160 const ArchSpec &target_arch) in RegisterContextNetBSD_x86_64()
|
| H A D | RegisterInfoInterface.h | 23 RegisterInfoInterface(const lldb_private::ArchSpec &target_arch) in RegisterInfoInterface() 40 const lldb_private::ArchSpec &GetTargetArchitecture() const { in GetTargetArchitecture() 45 lldb_private::ArchSpec m_target_arch;
|
| /freebsd/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | HostInfoBase.cpp | 51 ArchSpec m_host_arch_32; 52 ArchSpec m_host_arch_64; 94 const ArchSpec &HostInfoBase::GetArchitecture(ArchitectureKind arch_kind) { in GetArchitecture() 197 ArchSpec HostInfoBase::GetAugmentedArchSpec(llvm::StringRef triple) { in GetAugmentedArchSpec() 199 return ArchSpec(); in GetAugmentedArchSpec() 201 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec() 202 return ArchSpec(triple); in GetAugmentedArchSpec() 216 return ArchSpec(normalized_triple); in GetAugmentedArchSpec() 323 void HostInfoBase::ComputeHostArchitectureSupport(ArchSpec &arch_32, in ComputeHostArchitectureSupport() 324 ArchSpec &arch_64) { in ComputeHostArchitectureSupport()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/ |
| H A D | DisassemblerLLVMC.cpp | 456 const ArchSpec &arch = disasm->GetArchitecture(); in Decode() 1443 DisassemblerLLVMC::DisassemblerLLVMC(const ArchSpec &arch, in DisassemblerLLVMC() 1466 ArchSpec thumb_arch(arch); in DisassemblerLLVMC() 1500 case ArchSpec::eCore_mips32: in DisassemblerLLVMC() 1501 case ArchSpec::eCore_mips32el: in DisassemblerLLVMC() 1504 case ArchSpec::eCore_mips32r2: in DisassemblerLLVMC() 1505 case ArchSpec::eCore_mips32r2el: in DisassemblerLLVMC() 1508 case ArchSpec::eCore_mips32r3: in DisassemblerLLVMC() 1509 case ArchSpec::eCore_mips32r3el: in DisassemblerLLVMC() 1512 case ArchSpec in DisassemblerLLVMC() [all...] |
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/LoongArch/ |
| H A D | EmulateInstructionLoongArch.h | 32 static bool SupportsThisArch(const ArchSpec &arch); 35 CreateInstance(const lldb_private::ArchSpec &arch, InstructionType inst_type); 42 EmulateInstructionLoongArch(const ArchSpec &arch) : EmulateInstruction(arch) { in EmulateInstructionLoongArch() 52 bool SetTargetTriple(const ArchSpec &arch) override; 55 bool TestEmulation(Stream &out_stream, ArchSpec &arch,
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/ |
| H A D | EmulateInstructionRISCV.h | 43 static bool SupportsThisArch(const ArchSpec &arch); 46 CreateInstance(const lldb_private::ArchSpec &arch, InstructionType inst_type); 53 EmulateInstructionRISCV(const ArchSpec &arch) : EmulateInstruction(arch) {} in EmulateInstructionRISCV() 61 bool SetTargetTriple(const ArchSpec &arch) override; 65 bool TestEmulation(Stream &out_stream, ArchSpec &arch,
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/ |
| H A D | EmulateInstructionPPC64.h | 21 EmulateInstructionPPC64(const ArchSpec &arch); 31 static EmulateInstruction *CreateInstance(const ArchSpec &arch, 50 bool SetTargetTriple(const ArchSpec &arch) override; 60 bool TestEmulation(Stream &out_stream, ArchSpec &arch, in TestEmulation()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/ |
| H A D | lldb-private-interfaces.h | 29 const ArchSpec &arch); 31 const ArchSpec &arch); 32 typedef lldb::DisassemblerSP (*DisassemblerCreateInstance)(const ArchSpec &arch, 62 const ArchSpec &arch, InstructionType inst_type); 79 const ArchSpec *arch); 96 const FileSpec &dsym_bundle_fspec, const UUID *uuid, const ArchSpec *arch); 115 typedef UnwindAssembly *(*UnwindAssemblyCreateInstance)(const ArchSpec &arch);
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/ |
| H A D | ObjectContainerBSDArchive.h | 14 #include "lldb/Utility/ArchSpec.h" 113 Archive(const lldb_private::ArchSpec &arch, 124 const lldb_private::FileSpec &file, const lldb_private::ArchSpec &arch, 128 const lldb_private::FileSpec &file, const lldb_private::ArchSpec &arch, 151 const lldb_private::ArchSpec &GetArchitecture() const { return m_arch; } 153 void SetArchitecture(const lldb_private::ArchSpec &arch) { m_arch = arch; } 164 lldb_private::ArchSpec m_arch; in GetData()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/ |
| H A D | PlatformQemuUser.h | 35 std::vector<ArchSpec> 36 GetSupportedArchitectures(const ArchSpec &process_host_arch) override; 64 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr, in GetMmapArgumentList() 73 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ObjectFileELF.cpp | 254 uint32_t arch_variant = ArchSpec::eMIPSSubType_unknown; in mipsVariantFromElfFlags() 263 return (endian == ELFDATA2LSB) ? ArchSpec::eMIPSSubType_mips32el in mipsVariantFromElfFlags() 264 : ArchSpec::eMIPSSubType_mips32; in mipsVariantFromElfFlags() 266 return (endian == ELFDATA2LSB) ? ArchSpec::eMIPSSubType_mips64el in mipsVariantFromElfFlags() 267 : ArchSpec::eMIPSSubType_mips64; in mipsVariantFromElfFlags() 277 return (endian == ELFDATA2LSB) ? ArchSpec::eMIPSSubType_mips32el in mipsVariantFromElfFlags() 278 : ArchSpec::eMIPSSubType_mips32; in mipsVariantFromElfFlags() 280 return (endian == ELFDATA2LSB) ? ArchSpec::eMIPSSubType_mips32r2el in mipsVariantFromElfFlags() 281 : ArchSpec::eMIPSSubType_mips32r2; in mipsVariantFromElfFlags() 283 return (endian == ELFDATA2LSB) ? ArchSpec::eMIPSSubType_mips32r6el in mipsVariantFromElfFlags() [all …]
|