Home
last modified time | relevance | path

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

1234567891011

/freebsd-12-stable/contrib/llvm-project/lldb/source/Utility/
DArchSpec.cpp23 static bool cores_match(const ArchSpec::Core core1, const ArchSpec::Core core2,
34 ArchSpec::Core core;
42 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_generic,
44 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv4,
46 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv4t,
48 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5,
50 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5e,
52 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5t,
54 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv6,
56 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv6m,
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Utility/
DArchSpec.h33 class ArchSpec {
260 ArchSpec();
265 explicit ArchSpec(const llvm::Triple &triple);
266 explicit ArchSpec(const char *triple_cstr);
267 explicit ArchSpec(llvm::StringRef triple_str);
272 explicit ArchSpec(ArchitectureType arch_type, uint32_t cpu_type,
276 ~ArchSpec();
366 void MergeFrom(const ArchSpec &other);
485 bool IsExactMatch(const ArchSpec &rhs) const;
492 bool IsCompatibleMatch(const ArchSpec &rhs) const;
[all …]
DProcessInfo.h34 ProcessInfo(const char *name, const ArchSpec &arch, lldb::pid_t pid);
61 ArchSpec &GetArchitecture() { return m_arch; } in GetArchitecture()
63 const ArchSpec &GetArchitecture() const { return m_arch; } in GetArchitecture()
65 void SetArchitecture(const ArchSpec &arch) { m_arch = arch; } in SetArchitecture()
100 ArchSpec m_arch;
112 ProcessInstanceInfo(const char *name, const ArchSpec &arch, lldb::pid_t pid) in ProcessInstanceInfo()
190 bool ArchitectureMatches(const ArchSpec &arch_spec) const;
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Interpreter/
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-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
DThreadElfCore.cpp81 ArchSpec arch = process->GetArchitecture(); in CreateRegisterContextForFrame()
243 size_t ELFLinuxPrStatus::GetSize(const lldb_private::ArchSpec &arch) { in GetSize()
258 case lldb_private::ArchSpec::eCore_x86_32_i386: in GetSize()
259 case lldb_private::ArchSpec::eCore_x86_32_i486: in GetSize()
270 const ArchSpec &arch) { in Parse()
317 size_t ELFLinuxPrPsInfo::GetSize(const lldb_private::ArchSpec &arch) { in GetSize()
327 case lldb_private::ArchSpec::eCore_s390x_generic: in GetSize()
328 case lldb_private::ArchSpec::eCore_x86_64_x86_64: in GetSize()
330 case lldb_private::ArchSpec::eCore_x86_32_i386: in GetSize()
331 case lldb_private::ArchSpec::eCore_x86_32_i486: in GetSize()
[all …]
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-12-stable/contrib/llvm-project/lldb/include/lldb/Core/
DDisassembler.h167 bool DumpEmulation(const ArchSpec &arch);
171 bool Emulate(const ArchSpec &arch, uint32_t evaluate_options, void *baton,
384 FindPlugin(const ArchSpec &arch, const char *flavor, const char *plugin_name);
388 const ArchSpec &arch,
397 static lldb::DisassemblerSP DisassembleRange(const ArchSpec &arch,
405 DisassembleBytes(const ArchSpec &arch, const char *plugin_name,
410 static bool Disassemble(Debugger &debugger, const ArchSpec &arch,
417 static bool Disassemble(Debugger &debugger, const ArchSpec &arch,
421 Disassembler(const ArchSpec &arch, const char *flavor);
424 void PrintInstructions(Debugger &debugger, const ArchSpec &arch,
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Host/common/
DHostInfoBase.cpp49 ArchSpec m_host_arch_32;
50 ArchSpec m_host_arch_64;
93 const ArchSpec &HostInfoBase::GetArchitecture(ArchitectureKind arch_kind) { in GetArchitecture()
191 ArchSpec HostInfoBase::GetAugmentedArchSpec(llvm::StringRef triple) { in GetAugmentedArchSpec()
193 return ArchSpec(); in GetAugmentedArchSpec()
195 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec()
196 return ArchSpec(triple); in GetAugmentedArchSpec()
209 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()
321 void HostInfoBase::ComputeHostArchitectureSupport(ArchSpec &arch_32, in ComputeHostArchitectureSupport()
322 ArchSpec &arch_64) { in ComputeHostArchitectureSupport()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
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()
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()
DRegisterContextLinux_x86_64.cpp90 GetRegisterInfo_i386(const lldb_private::ArchSpec &arch) { in GetRegisterInfo_i386()
113 static const RegisterInfo *GetRegisterInfoPtr(const ArchSpec &target_arch) { in GetRegisterInfoPtr()
125 static uint32_t GetRegisterInfoCount(const ArchSpec &target_arch) { in GetRegisterInfoCount()
141 static uint32_t GetUserRegisterInfoCount(const ArchSpec &target_arch) { in GetUserRegisterInfoCount()
154 const ArchSpec &target_arch) in RegisterContextLinux_x86_64()
DRegisterInfoPOSIX_ppc64le.cpp24 GetRegisterInfoPtr(const lldb_private::ArchSpec &target_arch) { in GetRegisterInfoPtr()
35 GetRegisterInfoCount(const lldb_private::ArchSpec &target_arch) { in GetRegisterInfoCount()
47 const lldb_private::ArchSpec &target_arch) in RegisterInfoPOSIX_ppc64le()
DRegisterContextFreeBSD_powerpc.h18 RegisterContextFreeBSD_powerpc(const lldb_private::ArchSpec &target_arch);
30 RegisterContextFreeBSD_powerpc32(const lldb_private::ArchSpec &target_arch);
42 RegisterContextFreeBSD_powerpc64(const lldb_private::ArchSpec &target_arch);
DRegisterContextFreeBSD_x86_64.cpp78 GetRegisterInfo_i386(const lldb_private::ArchSpec &arch) { in GetRegisterInfo_i386()
102 PrivateGetRegisterInfoPtr(const lldb_private::ArchSpec &target_arch) { in PrivateGetRegisterInfoPtr()
115 PrivateGetRegisterCount(const lldb_private::ArchSpec &target_arch) { in PrivateGetRegisterCount()
132 const ArchSpec &target_arch) in RegisterContextFreeBSD_x86_64()
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Target/
DPlatform.h101 GetPlatformForArchitecture(const ArchSpec &arch, ArchSpec *platform_arch_ptr);
112 static lldb::PlatformSP Create(const ArchSpec &arch,
113 ArchSpec *platform_arch_ptr, Status &error);
117 static ArchSpec GetAugmentedArchSpec(Platform *platform,
257 virtual ArchSpec GetRemoteSystemArchitecture() { in GetRemoteSystemArchitecture()
258 return ArchSpec(); // Return an invalid architecture in GetRemoteSystemArchitecture()
310 const ArchSpec &arch, ModuleSpec &module_spec);
330 ArchSpec &arch) = 0;
351 virtual bool IsCompatibleArchitecture(const ArchSpec &arch,
353 ArchSpec *compatible_arch_ptr);
[all …]
DUnwindAssembly.h21 static lldb::UnwindAssemblySP FindPlugin(const ArchSpec &arch);
41 UnwindAssembly(const ArchSpec &arch);
42 ArchSpec m_arch;
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/
DObjectContainerBSDArchive.h113 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; } in GetArchitecture()
153 void SetArchitecture(const lldb_private::ArchSpec &arch) { m_arch = arch; } in SetArchitecture()
162 lldb_private::ArchSpec m_arch;
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/
DDisassemblerLLVMC.cpp118 const ArchSpec &arch = disasm->GetArchitecture(); in Decode()
1030 DisassemblerLLVMC::DisassemblerLLVMC(const ArchSpec &arch, in DisassemblerLLVMC()
1052 ArchSpec thumb_arch(arch); in DisassemblerLLVMC()
1086 case ArchSpec::eCore_mips32: in DisassemblerLLVMC()
1087 case ArchSpec::eCore_mips32el: in DisassemblerLLVMC()
1090 case ArchSpec::eCore_mips32r2: in DisassemblerLLVMC()
1091 case ArchSpec::eCore_mips32r2el: in DisassemblerLLVMC()
1094 case ArchSpec::eCore_mips32r3: in DisassemblerLLVMC()
1095 case ArchSpec::eCore_mips32r3el: in DisassemblerLLVMC()
1098 case ArchSpec::eCore_mips32r5: in DisassemblerLLVMC()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/
DEmulateInstructionPPC64.h20 EmulateInstructionPPC64(const ArchSpec &arch);
30 static EmulateInstruction *CreateInstance(const ArchSpec &arch,
51 bool SetTargetTriple(const ArchSpec &arch) override;
61 bool TestEmulation(Stream *out_stream, ArchSpec &arch, in TestEmulation()
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Host/
DHostInfoBase.h64 static const ArchSpec &
102 static ArchSpec GetAugmentedArchSpec(llvm::StringRef triple);
130 static void ComputeHostArchitectureSupport(ArchSpec &arch_32,
131 ArchSpec &arch_64);
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/
Dlldb-private-interfaces.h30 const ArchSpec &arch);
32 const ArchSpec &arch);
33 typedef Disassembler *(*DisassemblerCreateInstance)(const ArchSpec &arch,
61 const ArchSpec &arch, InstructionType inst_type);
78 const ArchSpec *arch);
102 typedef UnwindAssembly *(*UnwindAssemblyCreateInstance)(const ArchSpec &arch);
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp251 uint32_t arch_variant = ArchSpec::eMIPSSubType_unknown; in mipsVariantFromElfFlags()
260 return (endian == ELFDATA2LSB) ? ArchSpec::eMIPSSubType_mips32el in mipsVariantFromElfFlags()
261 : ArchSpec::eMIPSSubType_mips32; in mipsVariantFromElfFlags()
263 return (endian == ELFDATA2LSB) ? ArchSpec::eMIPSSubType_mips64el in mipsVariantFromElfFlags()
264 : ArchSpec::eMIPSSubType_mips64; in mipsVariantFromElfFlags()
274 return (endian == ELFDATA2LSB) ? ArchSpec::eMIPSSubType_mips32el in mipsVariantFromElfFlags()
275 : ArchSpec::eMIPSSubType_mips32; in mipsVariantFromElfFlags()
277 return (endian == ELFDATA2LSB) ? ArchSpec::eMIPSSubType_mips32r2el in mipsVariantFromElfFlags()
278 : ArchSpec::eMIPSSubType_mips32r2; in mipsVariantFromElfFlags()
280 return (endian == ELFDATA2LSB) ? ArchSpec::eMIPSSubType_mips32r6el in mipsVariantFromElfFlags()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Platform/FreeBSD/
DPlatformFreeBSD.h26 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
43 bool GetSupportedArchitectureAtIndex(uint32_t idx, ArchSpec &arch) override;
49 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Platform/OpenBSD/
DPlatformOpenBSD.h26 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
43 bool GetSupportedArchitectureAtIndex(uint32_t idx, ArchSpec &arch) override;
49 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Architecture/Mips/
DArchitectureMips.h42 static std::unique_ptr<Architecture> Create(const ArchSpec &arch);
43 ArchitectureMips(const ArchSpec &arch) : m_arch(arch) {} in ArchitectureMips()
45 ArchSpec m_arch;

1234567891011