Home
last modified time | relevance | path

Searched refs:ArchSpec (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DArchSpec.cpp25 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 DOptionValueArch.h26 OptionValueArch(const ArchSpec &value) in OptionValueArch()
29 OptionValueArch(const ArchSpec &current_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 DArchSpec.h31 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 DProcessInfo.h35 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 DThreadElfCore.cpp86 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 DThreadElfCore.h57 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 DPlatform.h108 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 DPlatformOpenBSD.h26 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 DPlatformFreeBSD.h27 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 DPlatformNetBSD.h27 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 DDisassembler.h186 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 DObjectFileCOFF.cpp128 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 DPlatform.cpp205 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 DRegisterContextLinux_s390x.cpp20 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 DRegisterContextNetBSD_x86_64.cpp93 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 DRegisterInfoInterface.h23 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 DHostInfoBase.cpp51 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 DDisassemblerLLVMC.cpp456 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 DEmulateInstructionLoongArch.h32 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 DEmulateInstructionRISCV.h43 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 DEmulateInstructionPPC64.h21 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 Dlldb-private-interfaces.h29 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 DObjectContainerBSDArchive.h14 #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 DPlatformQemuUser.h35 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 DObjectFileELF.cpp254 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 …]

12345678910>>...12