reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/lldb/include/lldb/Utility/ArchSpec.h
  455   bool SetTriple(llvm::StringRef triple_str);

References

tools/lldb/source/API/SBModuleSpec.cpp
  126   m_opaque_up->GetArchitecture().SetTriple(triple);
tools/lldb/source/Core/Disassembler.cpp
 1274     m_arch.SetTriple(thumb_arch_name.c_str());
tools/lldb/source/Interpreter/OptionValueArch.cpp
   48     if (m_current_value.SetTriple(value_str.c_str())) {
tools/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
  173         arch.SetTriple(LLDB_ARCH_DEFAULT);
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  189     spec.SetTriple("x86_64-pc-windows");
  193     spec.SetTriple("i386-pc-windows");
  195     spec.SetTriple("i686-pc-windows");
  199     spec.SetTriple("armv7-pc-windows");
  203     spec.SetTriple("aarch64-pc-windows");
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
  493       arch.SetTriple("x86_64-apple-macosx");
  548       arch.SetTriple("arm64-apple-" OSNAME);
  551       arch.SetTriple("armv7-apple-" OSNAME);
  554       arch.SetTriple("armv7f-apple-" OSNAME);
  557       arch.SetTriple("armv7k-apple-" OSNAME);
  560       arch.SetTriple("armv7s-apple-" OSNAME);
  563       arch.SetTriple("armv7m-apple-" OSNAME);
  566       arch.SetTriple("armv7em-apple-" OSNAME);
  569       arch.SetTriple("armv6m-apple-" OSNAME);
  572       arch.SetTriple("armv6-apple-" OSNAME);
  575       arch.SetTriple("armv5-apple-" OSNAME);
  578       arch.SetTriple("armv4-apple-" OSNAME);
  581       arch.SetTriple("arm-apple-" OSNAME);
  584       arch.SetTriple("thumbv7-apple-" OSNAME);
  587       arch.SetTriple("thumbv7f-apple-" OSNAME);
  590       arch.SetTriple("thumbv7k-apple-" OSNAME);
  593       arch.SetTriple("thumbv7s-apple-" OSNAME);
  596       arch.SetTriple("thumbv7m-apple-" OSNAME);
  599       arch.SetTriple("thumbv7em-apple-" OSNAME);
  602       arch.SetTriple("thumbv6m-apple-" OSNAME);
  605       arch.SetTriple("thumbv6-apple-" OSNAME);
  608       arch.SetTriple("thumbv5-apple-" OSNAME);
  611       arch.SetTriple("thumbv4t-apple-" OSNAME);
  614       arch.SetTriple("thumb-apple-" OSNAME);
  624       arch.SetTriple("arm64-apple-" OSNAME);
  627       arch.SetTriple("armv7s-apple-" OSNAME);
  630       arch.SetTriple("armv7f-apple-" OSNAME);
  633       arch.SetTriple("armv7m-apple-" OSNAME);
  636       arch.SetTriple("armv7em-apple-" OSNAME);
  639       arch.SetTriple("armv7-apple-" OSNAME);
  642       arch.SetTriple("armv6m-apple-" OSNAME);
  645       arch.SetTriple("armv6-apple-" OSNAME);
  648       arch.SetTriple("armv5-apple-" OSNAME);
  651       arch.SetTriple("armv4-apple-" OSNAME);
  654       arch.SetTriple("arm-apple-" OSNAME);
  657       arch.SetTriple("thumbv7-apple-" OSNAME);
  660       arch.SetTriple("thumbv7f-apple-" OSNAME);
  663       arch.SetTriple("thumbv7k-apple-" OSNAME);
  666       arch.SetTriple("thumbv7s-apple-" OSNAME);
  669       arch.SetTriple("thumbv7m-apple-" OSNAME);
  672       arch.SetTriple("thumbv7em-apple-" OSNAME);
  675       arch.SetTriple("thumbv6m-apple-" OSNAME);
  678       arch.SetTriple("thumbv6-apple-" OSNAME);
  681       arch.SetTriple("thumbv5-apple-" OSNAME);
  684       arch.SetTriple("thumbv4t-apple-" OSNAME);
  687       arch.SetTriple("thumb-apple-" OSNAME);
  697       arch.SetTriple("armv7f-apple-" OSNAME);
  700       arch.SetTriple("armv7-apple-" OSNAME);
  703       arch.SetTriple("armv6m-apple-" OSNAME);
  706       arch.SetTriple("armv6-apple-" OSNAME);
  709       arch.SetTriple("armv5-apple-" OSNAME);
  712       arch.SetTriple("armv4-apple-" OSNAME);
  715       arch.SetTriple("arm-apple-" OSNAME);
  718       arch.SetTriple("thumbv7f-apple-" OSNAME);
  721       arch.SetTriple("thumbv7-apple-" OSNAME);
  724       arch.SetTriple("thumbv6m-apple-" OSNAME);
  727       arch.SetTriple("thumbv6-apple-" OSNAME);
  730       arch.SetTriple("thumbv5-apple-" OSNAME);
  733       arch.SetTriple("thumbv4t-apple-" OSNAME);
  736       arch.SetTriple("thumb-apple-" OSNAME);
  746       arch.SetTriple("armv7k-apple-" OSNAME);
  749       arch.SetTriple("armv7-apple-" OSNAME);
  752       arch.SetTriple("armv6m-apple-" OSNAME);
  755       arch.SetTriple("armv6-apple-" OSNAME);
  758       arch.SetTriple("armv5-apple-" OSNAME);
  761       arch.SetTriple("armv4-apple-" OSNAME);
  764       arch.SetTriple("arm-apple-" OSNAME);
  767       arch.SetTriple("thumbv7k-apple-" OSNAME);
  770       arch.SetTriple("thumbv7-apple-" OSNAME);
  773       arch.SetTriple("thumbv6m-apple-" OSNAME);
  776       arch.SetTriple("thumbv6-apple-" OSNAME);
  779       arch.SetTriple("thumbv5-apple-" OSNAME);
  782       arch.SetTriple("thumbv4t-apple-" OSNAME);
  785       arch.SetTriple("thumb-apple-" OSNAME);
  795       arch.SetTriple("armv7s-apple-" OSNAME);
  798       arch.SetTriple("armv7-apple-" OSNAME);
  801       arch.SetTriple("armv6m-apple-" OSNAME);
  804       arch.SetTriple("armv6-apple-" OSNAME);
  807       arch.SetTriple("armv5-apple-" OSNAME);
  810       arch.SetTriple("armv4-apple-" OSNAME);
  813       arch.SetTriple("arm-apple-" OSNAME);
  816       arch.SetTriple("thumbv7s-apple-" OSNAME);
  819       arch.SetTriple("thumbv7-apple-" OSNAME);
  822       arch.SetTriple("thumbv6m-apple-" OSNAME);
  825       arch.SetTriple("thumbv6-apple-" OSNAME);
  828       arch.SetTriple("thumbv5-apple-" OSNAME);
  831       arch.SetTriple("thumbv4t-apple-" OSNAME);
  834       arch.SetTriple("thumb-apple-" OSNAME);
  844       arch.SetTriple("armv7m-apple-" OSNAME);
  847       arch.SetTriple("armv7-apple-" OSNAME);
  850       arch.SetTriple("armv6m-apple-" OSNAME);
  853       arch.SetTriple("armv6-apple-" OSNAME);
  856       arch.SetTriple("armv5-apple-" OSNAME);
  859       arch.SetTriple("armv4-apple-" OSNAME);
  862       arch.SetTriple("arm-apple-" OSNAME);
  865       arch.SetTriple("thumbv7m-apple-" OSNAME);
  868       arch.SetTriple("thumbv7-apple-" OSNAME);
  871       arch.SetTriple("thumbv6m-apple-" OSNAME);
  874       arch.SetTriple("thumbv6-apple-" OSNAME);
  877       arch.SetTriple("thumbv5-apple-" OSNAME);
  880       arch.SetTriple("thumbv4t-apple-" OSNAME);
  883       arch.SetTriple("thumb-apple-" OSNAME);
  893       arch.SetTriple("armv7em-apple-" OSNAME);
  896       arch.SetTriple("armv7-apple-" OSNAME);
  899       arch.SetTriple("armv6m-apple-" OSNAME);
  902       arch.SetTriple("armv6-apple-" OSNAME);
  905       arch.SetTriple("armv5-apple-" OSNAME);
  908       arch.SetTriple("armv4-apple-" OSNAME);
  911       arch.SetTriple("arm-apple-" OSNAME);
  914       arch.SetTriple("thumbv7em-apple-" OSNAME);
  917       arch.SetTriple("thumbv7-apple-" OSNAME);
  920       arch.SetTriple("thumbv6m-apple-" OSNAME);
  923       arch.SetTriple("thumbv6-apple-" OSNAME);
  926       arch.SetTriple("thumbv5-apple-" OSNAME);
  929       arch.SetTriple("thumbv4t-apple-" OSNAME);
  932       arch.SetTriple("thumb-apple-" OSNAME);
  942       arch.SetTriple("armv7-apple-" OSNAME);
  945       arch.SetTriple("armv6m-apple-" OSNAME);
  948       arch.SetTriple("armv6-apple-" OSNAME);
  951       arch.SetTriple("armv5-apple-" OSNAME);
  954       arch.SetTriple("armv4-apple-" OSNAME);
  957       arch.SetTriple("arm-apple-" OSNAME);
  960       arch.SetTriple("thumbv7-apple-" OSNAME);
  963       arch.SetTriple("thumbv6m-apple-" OSNAME);
  966       arch.SetTriple("thumbv6-apple-" OSNAME);
  969       arch.SetTriple("thumbv5-apple-" OSNAME);
  972       arch.SetTriple("thumbv4t-apple-" OSNAME);
  975       arch.SetTriple("thumb-apple-" OSNAME);
  985       arch.SetTriple("armv6m-apple-" OSNAME);
  988       arch.SetTriple("armv6-apple-" OSNAME);
  991       arch.SetTriple("armv5-apple-" OSNAME);
  994       arch.SetTriple("armv4-apple-" OSNAME);
  997       arch.SetTriple("arm-apple-" OSNAME);
 1000       arch.SetTriple("thumbv6m-apple-" OSNAME);
 1003       arch.SetTriple("thumbv6-apple-" OSNAME);
 1006       arch.SetTriple("thumbv5-apple-" OSNAME);
 1009       arch.SetTriple("thumbv4t-apple-" OSNAME);
 1012       arch.SetTriple("thumb-apple-" OSNAME);
 1022       arch.SetTriple("armv6-apple-" OSNAME);
 1025       arch.SetTriple("armv5-apple-" OSNAME);
 1028       arch.SetTriple("armv4-apple-" OSNAME);
 1031       arch.SetTriple("arm-apple-" OSNAME);
 1034       arch.SetTriple("thumbv6-apple-" OSNAME);
 1037       arch.SetTriple("thumbv5-apple-" OSNAME);
 1040       arch.SetTriple("thumbv4t-apple-" OSNAME);
 1043       arch.SetTriple("thumb-apple-" OSNAME);
 1053       arch.SetTriple("armv5-apple-" OSNAME);
 1056       arch.SetTriple("armv4-apple-" OSNAME);
 1059       arch.SetTriple("arm-apple-" OSNAME);
 1062       arch.SetTriple("thumbv5-apple-" OSNAME);
 1065       arch.SetTriple("thumbv4t-apple-" OSNAME);
 1068       arch.SetTriple("thumb-apple-" OSNAME);
 1078       arch.SetTriple("armv4-apple-" OSNAME);
 1081       arch.SetTriple("arm-apple-" OSNAME);
 1084       arch.SetTriple("thumbv4t-apple-" OSNAME);
 1087       arch.SetTriple("thumb-apple-" OSNAME);
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp
  146       arch.SetTriple("arm64-apple-bridgeos");
  156       arch.SetTriple("arm64-apple-bridgeos");
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.cpp
  149       arch.SetTriple("arm64-apple-tvos");
  152       arch.SetTriple("armv7s-apple-tvos");
  155       arch.SetTriple("armv7-apple-tvos");
  158       arch.SetTriple("thumbv7s-apple-tvos");
  161       arch.SetTriple("thumbv7-apple-tvos");
  171       arch.SetTriple("arm64-apple-tvos");
  174       arch.SetTriple("armv7s-apple-tvos");
  177       arch.SetTriple("armv7-apple-tvos");
  180       arch.SetTriple("thumbv7s-apple-tvos");
  183       arch.SetTriple("thumbv7-apple-tvos");
  193       arch.SetTriple("armv7s-apple-tvos");
  196       arch.SetTriple("armv7-apple-tvos");
  199       arch.SetTriple("thumbv7s-apple-tvos");
  202       arch.SetTriple("thumbv7-apple-tvos");
  212       arch.SetTriple("armv7-apple-tvos");
  215       arch.SetTriple("thumbv7-apple-tvos");
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.cpp
  160       arch.SetTriple("arm64-apple-watchos");
  163       arch.SetTriple("armv7k-apple-watchos");
  166       arch.SetTriple("armv7s-apple-watchos");
  169       arch.SetTriple("armv7-apple-watchos");
  172       arch.SetTriple("thumbv7k-apple-watchos");
  175       arch.SetTriple("thumbv7-apple-watchos");
  178       arch.SetTriple("thumbv7s-apple-watchos");
  181       arch.SetTriple("arm64_32-apple-watchos");
  191       arch.SetTriple("arm64-apple-watchos");
  194       arch.SetTriple("armv7k-apple-watchos");
  197       arch.SetTriple("armv7s-apple-watchos");
  200       arch.SetTriple("armv7-apple-watchos");
  203       arch.SetTriple("thumbv7k-apple-watchos");
  206       arch.SetTriple("thumbv7-apple-watchos");
  209       arch.SetTriple("thumbv7s-apple-watchos");
  212       arch.SetTriple("arm64_32-apple-watchos");
  222       arch.SetTriple("armv7k-apple-watchos");
  225       arch.SetTriple("armv7s-apple-watchos");
  228       arch.SetTriple("armv7-apple-watchos");
  231       arch.SetTriple("thumbv7k-apple-watchos");
  234       arch.SetTriple("thumbv7-apple-watchos");
  237       arch.SetTriple("thumbv7s-apple-watchos");
  240       arch.SetTriple("arm64_32-apple-watchos");
  250       arch.SetTriple("armv7s-apple-watchos");
  253       arch.SetTriple("armv7k-apple-watchos");
  256       arch.SetTriple("armv7-apple-watchos");
  259       arch.SetTriple("thumbv7k-apple-watchos");
  262       arch.SetTriple("thumbv7-apple-watchos");
  265       arch.SetTriple("thumbv7s-apple-watchos");
  268       arch.SetTriple("arm64_32-apple-watchos");
  278       arch.SetTriple("armv7-apple-watchos");
  281       arch.SetTriple("armv7k-apple-watchos");
  284       arch.SetTriple("thumbv7k-apple-watchos");
  287       arch.SetTriple("thumbv7-apple-watchos");
  290       arch.SetTriple("arm64_32-apple-watchos");
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 1267             m_host_arch.SetTriple(triple.c_str());
 1292           m_host_arch.SetTriple(triple.c_str());
 1923         process_info.GetArchitecture().SetTriple(triple.c_str());
 2082         m_process_arch.SetTriple(triple.c_str());
 3576       module_spec.GetArchitecture().SetTriple(triple.c_str());
 3621   result.GetArchitecture().SetTriple(string);
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 4579         arch_to_use.SetTriple("x86_64--");
 4587         arch_to_use.SetTriple("arm--");
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
  452       oso_arch.SetTriple(m_objfile_sp->GetModule()
tools/lldb/source/Utility/ArchSpec.cpp
  554     SetTriple(triple_cstr);
  557 ArchSpec::ArchSpec(llvm::StringRef triple_str) { SetTriple(triple_str); }
tools/lldb/unittests/Utility/ArchSpecTest.cpp
  101   EXPECT_TRUE(AS.SetTriple("12-10-apple-darwin"));
  109   EXPECT_TRUE(AS.SetTriple("18.100-apple-darwin"));
  117   EXPECT_TRUE(AS.SetTriple("i686-pc-windows"));
  128   EXPECT_FALSE(AS.SetTriple("unknown-unknown-unknown"));
  131   EXPECT_FALSE(AS.SetTriple("unknown"));
  134   EXPECT_FALSE(AS.SetTriple(""));
  225       this->SetTriple("unknown-mach-64");