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

Declarations

tools/lldb/include/lldb/Utility/ArchSpec.h
  541 bool ParseMachCPUDashSubtypeTriple(llvm::StringRef triple_str, ArchSpec &arch);

References

tools/lldb/source/Utility/ArchSpec.cpp
  841   if (ParseMachCPUDashSubtypeTriple(triple, *this))
tools/lldb/unittests/Utility/ArchSpecTest.cpp
   22   EXPECT_TRUE(ParseMachCPUDashSubtypeTriple("12-10", AS));
   27   EXPECT_TRUE(ParseMachCPUDashSubtypeTriple("12-15", AS));
   32   EXPECT_TRUE(ParseMachCPUDashSubtypeTriple("12.15", AS));
   40   EXPECT_TRUE(ParseMachCPUDashSubtypeTriple("13.11", AS));
   46   EXPECT_FALSE(ParseMachCPUDashSubtypeTriple("13", AS));
   49   EXPECT_FALSE(ParseMachCPUDashSubtypeTriple("13.A", AS));
   52   EXPECT_FALSE(ParseMachCPUDashSubtypeTriple("A.13", AS));
   56   EXPECT_FALSE(ParseMachCPUDashSubtypeTriple("", AS));
   61   EXPECT_TRUE(ParseMachCPUDashSubtypeTriple("12-15-vendor-os", AS));
   68   EXPECT_TRUE(ParseMachCPUDashSubtypeTriple("12-10-vendor-os-name", AS));
   75   EXPECT_TRUE(ParseMachCPUDashSubtypeTriple("12-15-vendor.os-name", AS));
   84   EXPECT_TRUE(ParseMachCPUDashSubtypeTriple("12-10-vendor", AS));
   91   EXPECT_FALSE(ParseMachCPUDashSubtypeTriple("12.10.10", AS));
   94   EXPECT_FALSE(ParseMachCPUDashSubtypeTriple("12-10.10", AS));