| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | ArchSpec.cpp | 24 static bool cores_match(const ArchSpec::Core core1, const ArchSpec::Core core2, 35 ArchSpec::Core core; 243 ArchSpec::Core core; 511 ArchSpec::ArchSpec() = default; 513 ArchSpec::ArchSpec(const char *triple_cstr) { in ArchSpec() function in ArchSpec 520 ArchSpec::ArchSpec(const llvm::Triple &triple) { SetTriple(triple); } in ArchSpec() function in ArchSpec 526 ArchSpec::~ArchSpec() = default; 802 void ArchSpec::MergeFrom(const ArchSpec &other) { in MergeFrom() 931 bool ArchSpec::IsExactMatch(const ArchSpec &rhs) const { in IsExactMatch() 935 bool ArchSpec::IsCompatibleMatch(const ArchSpec &rhs) const { in IsCompatibleMatch() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/ |
| H A D | PlatformRemoteAppleWatch.cpp | 147 std::vector<ArchSpec> 156 ArchSpec("arm64-apple-watchos"), ArchSpec("armv7k-apple-watchos"), in GetSupportedArchitectures() 157 ArchSpec("armv7s-apple-watchos"), ArchSpec("armv7-apple-watchos"), in GetSupportedArchitectures() 158 ArchSpec("thumbv7k-apple-watchos"), ArchSpec("thumbv7-apple-watchos"), in GetSupportedArchitectures() 163 ArchSpec("armv7k-apple-watchos"), ArchSpec("armv7s-apple-watchos"), in GetSupportedArchitectures() 164 ArchSpec("armv7-apple-watchos"), ArchSpec("thumbv7k-apple-watchos"), in GetSupportedArchitectures() 165 ArchSpec("thumbv7-apple-watchos"), ArchSpec("thumbv7s-apple-watchos"), in GetSupportedArchitectures() 170 ArchSpec("armv7s-apple-watchos"), ArchSpec("armv7k-apple-watchos"), in GetSupportedArchitectures() 171 ArchSpec("armv7-apple-watchos"), ArchSpec("thumbv7k-apple-watchos"), in GetSupportedArchitectures() 172 ArchSpec("thumbv7-apple-watchos"), ArchSpec("thumbv7s-apple-watchos"), in GetSupportedArchitectures() [all …]
|
| H A D | PlatformRemoteAppleTV.cpp | 137 const ArchSpec &process_host_arch) { in GetSupportedArchitectures() 138 ArchSpec system_arch(GetSystemArchitecture()); in GetSupportedArchitectures() 143 case ArchSpec::eCore_arm_arm64: in GetSupportedArchitectures() 144 return {ArchSpec("arm64-apple-tvos"), ArchSpec("armv7s-apple-tvos"), in GetSupportedArchitectures() 145 ArchSpec("armv7-apple-tvos"), ArchSpec("thumbv7s-apple-tvos"), in GetSupportedArchitectures() 146 ArchSpec("thumbv7-apple-tvos")}; in GetSupportedArchitectures() 148 case ArchSpec::eCore_arm_armv7s: in GetSupportedArchitectures() 149 return {ArchSpec("armv7s-apple-tvos"), ArchSpec("armv7-apple-tvos"), in GetSupportedArchitectures() 150 ArchSpec("thumbv7s-apple-tvos"), ArchSpec("thumbv7-apple-tvos")}; in GetSupportedArchitectures() 152 case ArchSpec::eCore_arm_armv7: in GetSupportedArchitectures() [all …]
|
| H A D | PlatformMacOSX.cpp | 92 PlatformSP PlatformMacOSX::CreateInstance(bool force, const ArchSpec *arch) { in CreateInstance() 136 std::vector<ArchSpec> 138 std::vector<ArchSpec> result; in GetSupportedArchitectures() 149 result.push_back(ArchSpec("x86_64-apple-macosx")); in GetSupportedArchitectures() 150 result.push_back(ArchSpec("x86_64-apple-ios-macabi")); in GetSupportedArchitectures() 151 result.push_back(ArchSpec("arm64-apple-ios-macabi")); in GetSupportedArchitectures() 152 result.push_back(ArchSpec("arm64e-apple-ios-macabi")); in GetSupportedArchitectures() 160 result.push_back(ArchSpec("arm64-apple-ios")); in GetSupportedArchitectures() 161 result.push_back(ArchSpec("arm64e-apple-ios")); in GetSupportedArchitectures() 166 result.push_back(ArchSpec("x86_64-apple-ios-macabi")); in GetSupportedArchitectures() [all …]
|
| H A D | PlatformRemoteMacOSX.cpp | 61 const ArchSpec *arch) { in CreateInstance() 128 std::vector<ArchSpec> 129 PlatformRemoteMacOSX::GetSupportedArchitectures(const ArchSpec &host_info) { in GetSupportedArchitectures() 131 std::vector<ArchSpec> result; in GetSupportedArchitectures() 137 result.push_back(ArchSpec("x86_64-apple-macosx")); in GetSupportedArchitectures() 138 result.push_back(ArchSpec("x86_64-apple-ios-macabi")); in GetSupportedArchitectures() 139 result.push_back(ArchSpec("arm64-apple-ios")); in GetSupportedArchitectures() 140 result.push_back(ArchSpec("arm64e-apple-ios")); in GetSupportedArchitectures()
|
| H A D | PlatformRemoteAppleWatch.h | 19 class ArchSpec; variable 25 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch); 39 std::vector<ArchSpec> 40 GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
|
| H A D | PlatformRemoteAppleBridge.h | 21 class ArchSpec; variable 27 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch); 41 std::vector<ArchSpec> 42 GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
|
| H A D | PlatformRemoteAppleTV.h | 22 class ArchSpec; variable 30 const lldb_private::ArchSpec *arch); 47 std::vector<lldb_private::ArchSpec> GetSupportedArchitectures( 48 const lldb_private::ArchSpec &process_host_arch) override;
|
| H A D | PlatformRemoteiOS.h | 19 class ArchSpec; variable 25 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch); 39 std::vector<ArchSpec> 40 GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
|
| H A D | PlatformRemoteMacOSX.h | 22 class ArchSpec; variable 30 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch); 44 std::vector<ArchSpec> 45 GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | ArchSpecTest.cpp | 22 ArchSpec AS; in TEST() 27 AS = ArchSpec(); in TEST() 32 AS = ArchSpec(); in TEST() 40 AS = ArchSpec(); in TEST() 46 AS = ArchSpec(); in TEST() 49 AS = ArchSpec(); in TEST() 52 AS = ArchSpec(); in TEST() 56 AS = ArchSpec(); in TEST() 61 ArchSpec AS; in TEST() 99 ArchSpec AS; in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Platform/ |
| H A D | PlatformTest.cpp | 30 std::vector<ArchSpec> 32 return {ArchSpec("arm64-apple-ps4")}; in GetSupportedArchitectures() 43 std::vector<ArchSpec> 45 return {ArchSpec("x86_64-apple-ps4")}; in GetSupportedArchitectures() 62 static PlatformSP CreateInstance(bool force, const ArchSpec *arch) { in CreateInstance() 66 std::vector<ArchSpec> 68 return {ArchSpec("thumbv7-apple-ps4"), ArchSpec("thumbv7f-apple-ps4")}; in GetSupportedArchitectures() 91 const std::vector<ArchSpec> archs = {ArchSpec("arm64-apple-ps4"), in TEST_F() 104 const std::vector<ArchSpec> archs = {ArchSpec("arm64-apple-ps4"), in TEST_F() 123 const std::vector<ArchSpec> archs = {ArchSpec("arm64-apple-ps4"), in TEST_F() [all …]
|
| H A D | PlatformMacOSXTest.cpp | 25 static bool containsArch(const std::vector<ArchSpec> &archs, in containsArch() 26 const ArchSpec &arch) { in containsArch() 27 return std::find_if(archs.begin(), archs.end(), [&](const ArchSpec &other) { in containsArch() 35 const ArchSpec x86_macosx_arch("x86_64-apple-macosx"); in TEST_F() 43 const ArchSpec arm64_macosx_arch("arm64-apple-macosx"); in TEST_F() 44 const ArchSpec arm64_ios_arch("arm64-apple-ios"); in TEST_F()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | ArchSpec.h | 33 class ArchSpec { 271 ArchSpec(); 276 explicit ArchSpec(const llvm::Triple &triple); 277 explicit ArchSpec(const char *triple_cstr); 278 explicit ArchSpec(llvm::StringRef triple_str); 287 ~ArchSpec(); 377 void MergeFrom(const ArchSpec &other); 496 bool IsExactMatch(const ArchSpec &rhs) const; 503 bool IsCompatibleMatch(const ArchSpec &rhs) const; 559 bool operator<(const ArchSpec &lhs, const ArchSpec &rhs); [all …]
|
| /llvm-project-15.0.7/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;
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/elf-core/ |
| H A D | ThreadElfCore.cpp | 78 ArchSpec arch = process->GetArchitecture(); in CreateRegisterContextForFrame() 251 case lldb_private::ArchSpec::eCore_x86_32_i386: in GetSize() 252 case lldb_private::ArchSpec::eCore_x86_32_i486: in GetSize() 320 case lldb_private::ArchSpec::eCore_s390x_generic: in GetSize() 321 case lldb_private::ArchSpec::eCore_x86_64_x86_64: in GetSize() 323 case lldb_private::ArchSpec::eCore_x86_32_i386: in GetSize() 324 case lldb_private::ArchSpec::eCore_x86_32_i486: in GetSize() 388 case lldb_private::ArchSpec::eCore_x86_64_x86_64: in GetSize() 390 case lldb_private::ArchSpec::eCore_s390x_generic: in GetSize() 391 case lldb_private::ArchSpec::eCore_x86_32_i386: 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);
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | Platform.h | 105 static ArchSpec GetAugmentedArchSpec(Platform *platform, 243 virtual ArchSpec GetRemoteSystemArchitecture() { in GetRemoteSystemArchitecture() 244 return ArchSpec(); // Return an invalid architecture in GetRemoteSystemArchitecture() 308 virtual std::vector<ArchSpec> 431 const ArchSpec &GetSystemArchitecture(); 433 void SetSystemArchitecture(const ArchSpec &arch) { in SetSystemArchitecture() 442 ArchSpec GetAugmentedArchSpec(llvm::StringRef triple); 856 static std::vector<ArchSpec> 882 ArchSpec 1004 lldb::PlatformSP GetOrCreate(const ArchSpec &arch, [all …]
|
| /llvm-project-15.0.7/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;
|
| /llvm-project-15.0.7/lldb/unittests/Target/ |
| H A D | RemoteAwarePlatformTest.cpp | 30 std::vector<ArchSpec>(const ArchSpec &process_host_arch)); 59 std::vector<ArchSpec>(const ArchSpec &process_host_arch)); 79 static const ArchSpec process_host_arch; in TEST_F() 81 .WillRepeatedly(Return(std::vector<ArchSpec>())); in TEST_F()
|
| /llvm-project-15.0.7/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;
|
| /llvm-project-15.0.7/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;
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/Linux/ |
| H A D | PlatformLinux.h | 27 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch); 46 std::vector<ArchSpec> 47 GetSupportedArchitectures(const ArchSpec &process_host_arch) override; 58 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr, 65 std::vector<ArchSpec> m_supported_architectures;
|
| /llvm-project-15.0.7/lldb/unittests/Host/ |
| H A D | NativeProcessProtocolTest.cpp | 23 ArchSpec("x86_64-pc-linux")); in TEST() 37 ArchSpec("x86_64-pc-linux")); in TEST() 48 ArchSpec("x86_64-pc-linux")); in TEST() 63 ArchSpec("x86_64-pc-linux")); in TEST() 79 ArchSpec("aarch64-pc-linux")); in TEST() 104 ArchSpec("aarch64-pc-linux")); in TEST() 120 ArchSpec("aarch64-pc-linux")); in TEST() 136 ArchSpec("aarch64-pc-linux")); in TEST()
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | Disassembler.h | 184 bool DumpEmulation(const ArchSpec &arch); 413 const ArchSpec &arch, 422 static lldb::DisassemblerSP DisassembleRange(const ArchSpec &arch, 430 DisassembleBytes(const ArchSpec &arch, const char *plugin_name, 435 static bool Disassemble(Debugger &debugger, const ArchSpec &arch, 442 static bool Disassemble(Debugger &debugger, const ArchSpec &arch, 446 Disassembler(const ArchSpec &arch, const char *flavor); 449 void PrintInstructions(Debugger &debugger, const ArchSpec &arch, 469 const ArchSpec &GetArchitecture() const { return m_arch; } in GetArchitecture() 473 virtual bool FlavorValidForArchSpec(const lldb_private::ArchSpec &arch, [all …]
|