• Home
  • Raw
  • Download

Lines Matching +full:windows +full:- +full:gnu +full:- +full:test

1 //===----------- Triple.cpp - Triple unit tests ---------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
17 TEST(TripleTest, BasicParsing) { in TEST() function
26 T = Triple("-"); in TEST()
32 T = Triple("--"); in TEST()
38 T = Triple("---"); in TEST()
44 T = Triple("----"); in TEST()
48 EXPECT_EQ("-", T.getEnvironmentName().str()); in TEST()
56 T = Triple("a-b"); in TEST()
62 T = Triple("a-b-c"); in TEST()
68 T = Triple("a-b-c-d"); in TEST()
75 TEST(TripleTest, ParsedIDs) { in TEST() function
78 T = Triple("i386-apple-darwin"); in TEST()
84 T = Triple("i386-pc-elfiamcu"); in TEST()
90 T = Triple("i386-pc-contiki-unknown"); in TEST()
96 T = Triple("i386-pc-hurd-gnu"); in TEST()
100 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
102 T = Triple("x86_64-pc-linux-gnu"); in TEST()
106 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
108 T = Triple("x86_64-pc-linux-musl"); in TEST()
114 T = Triple("powerpc-ibm-aix"); in TEST()
120 T = Triple("powerpc64-ibm-aix"); in TEST()
126 T = Triple("powerpc-dunno-notsure"); in TEST()
132 T = Triple("powerpcspe-unknown-freebsd"); in TEST()
139 T = Triple("s390x-ibm-zos"); in TEST()
145 T = Triple("systemz-ibm-zos"); in TEST()
151 T = Triple("arm-none-none-eabi"); in TEST()
157 T = Triple("arm-none-linux-musleabi"); in TEST()
163 T = Triple("armv6hl-none-linux-gnueabi"); in TEST()
169 T = Triple("armv7hl-none-linux-gnueabi"); in TEST()
175 T = Triple("amdil-unknown-unknown"); in TEST()
180 T = Triple("amdil64-unknown-unknown"); in TEST()
185 T = Triple("hsail-unknown-unknown"); in TEST()
190 T = Triple("hsail64-unknown-unknown"); in TEST()
195 T = Triple("sparcel-unknown-unknown"); in TEST()
200 T = Triple("spir-unknown-unknown"); in TEST()
205 T = Triple("spir64-unknown-unknown"); in TEST()
210 T = Triple("x86_64-unknown-ananas"); in TEST()
216 T = Triple("x86_64-unknown-cloudabi"); in TEST()
222 T = Triple("x86_64-unknown-fuchsia"); in TEST()
228 T = Triple("x86_64-unknown-hermit"); in TEST()
234 T = Triple("wasm32-unknown-unknown"); in TEST()
240 T = Triple("wasm32-unknown-wasi"); in TEST()
246 T = Triple("wasm64-unknown-unknown"); in TEST()
252 T = Triple("wasm64-unknown-wasi"); in TEST()
258 T = Triple("avr-unknown-unknown"); in TEST()
270 T = Triple("lanai-unknown-unknown"); in TEST()
282 T = Triple("amdgcn-mesa-mesa3d"); in TEST()
288 T = Triple("amdgcn-amd-amdhsa"); in TEST()
294 T = Triple("amdgcn-amd-amdpal"); in TEST()
300 T = Triple("ve-unknown-linux"); in TEST()
306 T = Triple("csky-unknown-unknown"); in TEST()
312 T = Triple("csky-unknown-linux"); in TEST()
318 T = Triple("riscv32-unknown-unknown"); in TEST()
324 T = Triple("riscv64-unknown-linux"); in TEST()
330 T = Triple("riscv64-unknown-freebsd"); in TEST()
336 T = Triple("riscv64-suse-linux"); in TEST()
342 T = Triple("armv7hl-suse-linux-gnueabi"); in TEST()
348 T = Triple("i586-pc-haiku"); in TEST()
354 T = Triple("x86_64-unknown-haiku"); in TEST()
360 T = Triple("mips-mti-linux-gnu"); in TEST()
364 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
366 T = Triple("mipsel-img-linux-gnu"); in TEST()
370 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
372 T = Triple("mips64-mti-linux-gnu"); in TEST()
376 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
378 T = Triple("mips64el-img-linux-gnu"); in TEST()
382 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
384 T = Triple("mips64el-img-linux-gnuabin32"); in TEST()
390 T = Triple("mips64el-unknown-linux-gnuabi64"); in TEST()
402 T = Triple("mips64-unknown-linux-gnuabi64"); in TEST()
414 T = Triple("mipsisa64r6el-unknown-linux-gnuabi64"); in TEST()
431 T = Triple("mipsisa64r6-unknown-linux-gnuabi64"); in TEST()
448 T = Triple("mips64el-unknown-linux-gnuabin32"); in TEST()
460 T = Triple("mips64-unknown-linux-gnuabin32"); in TEST()
472 T = Triple("mipsisa64r6el-unknown-linux-gnuabin32"); in TEST()
484 T = Triple("mipsisa64r6-unknown-linux-gnuabin32"); in TEST()
496 T = Triple("mipsel-unknown-linux-gnu"); in TEST()
500 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
505 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
508 T = Triple("mips-unknown-linux-gnu"); in TEST()
512 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
517 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
520 T = Triple("mipsisa32r6el-unknown-linux-gnu"); in TEST()
524 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
533 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
536 T = Triple("mipsisa32r6-unknown-linux-gnu"); in TEST()
540 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
545 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
550 EXPECT_EQ(Triple::GNU, T.getEnvironment()); in TEST()
553 T = Triple("arm-oe-linux-gnueabi"); in TEST()
559 T = Triple("aarch64-oe-linux"); in TEST()
566 T = Triple("arm64_32-apple-ios"); in TEST()
578 Str += '-'; in Join()
580 Str += '-'; in Join()
587 Str += '-'; in Join()
589 Str += '-'; in Join()
591 Str += '-'; in Join()
596 TEST(TripleTest, Normalization) { in TEST() function
599 EXPECT_EQ("unknown-unknown", Triple::normalize("-")); in TEST()
600 EXPECT_EQ("unknown-unknown-unknown", Triple::normalize("--")); in TEST()
601 EXPECT_EQ("unknown-unknown-unknown-unknown", Triple::normalize("---")); in TEST()
602 EXPECT_EQ("unknown-unknown-unknown-unknown-unknown", in TEST()
603 Triple::normalize("----")); in TEST()
606 EXPECT_EQ("a-b", Triple::normalize("a-b")); in TEST()
607 EXPECT_EQ("a-b-c", Triple::normalize("a-b-c")); in TEST()
608 EXPECT_EQ("a-b-c-d", Triple::normalize("a-b-c-d")); in TEST()
610 EXPECT_EQ("i386-b-c", Triple::normalize("i386-b-c")); in TEST()
611 EXPECT_EQ("i386-a-c", Triple::normalize("a-i386-c")); in TEST()
612 EXPECT_EQ("i386-a-b", Triple::normalize("a-b-i386")); in TEST()
613 EXPECT_EQ("i386-a-b-c", Triple::normalize("a-b-c-i386")); in TEST()
615 EXPECT_EQ("a-pc-c", Triple::normalize("a-pc-c")); in TEST()
616 EXPECT_EQ("unknown-pc-b-c", Triple::normalize("pc-b-c")); in TEST()
617 EXPECT_EQ("a-pc-b", Triple::normalize("a-b-pc")); in TEST()
618 EXPECT_EQ("a-pc-b-c", Triple::normalize("a-b-c-pc")); in TEST()
620 EXPECT_EQ("a-b-linux", Triple::normalize("a-b-linux")); in TEST()
621 EXPECT_EQ("unknown-unknown-linux-b-c", Triple::normalize("linux-b-c")); in TEST()
622 EXPECT_EQ("a-unknown-linux-c", Triple::normalize("a-linux-c")); in TEST()
624 EXPECT_EQ("i386-pc-a", Triple::normalize("a-pc-i386")); in TEST()
625 EXPECT_EQ("i386-pc-unknown", Triple::normalize("-pc-i386")); in TEST()
626 EXPECT_EQ("unknown-pc-linux-c", Triple::normalize("linux-pc-c")); in TEST()
627 EXPECT_EQ("unknown-pc-linux", Triple::normalize("linux-pc-")); in TEST()
630 EXPECT_EQ("unknown-pc", Triple::normalize("pc")); in TEST()
631 EXPECT_EQ("unknown-unknown-linux", Triple::normalize("linux")); in TEST()
633 EXPECT_EQ("x86_64-unknown-linux-gnu", Triple::normalize("x86_64-gnu-linux")); in TEST()
707 // Various real-world funky triples. The value returned by GCC's config.sub in TEST()
709 EXPECT_EQ("i386-unknown-windows-gnu", in TEST()
710 Triple::normalize("i386-mingw32")); // i386-pc-mingw32 in TEST()
711 EXPECT_EQ("x86_64-unknown-linux-gnu", in TEST()
712 Triple::normalize("x86_64-linux-gnu")); // x86_64-pc-linux-gnu in TEST()
713 EXPECT_EQ("i486-unknown-linux-gnu", in TEST()
714 Triple::normalize("i486-linux-gnu")); // i486-pc-linux-gnu in TEST()
715 EXPECT_EQ("i386-redhat-linux", in TEST()
716 Triple::normalize("i386-redhat-linux")); // i386-redhat-linux-gnu in TEST()
717 EXPECT_EQ("i686-unknown-linux", in TEST()
718 Triple::normalize("i686-linux")); // i686-pc-linux-gnu in TEST()
719 EXPECT_EQ("arm-none-unknown-eabi", in TEST()
720 Triple::normalize("arm-none-eabi")); // arm-none-eabi in TEST()
721 EXPECT_EQ("ve-unknown-linux", in TEST()
722 Triple::normalize("ve-linux")); // ve-linux in TEST()
723 EXPECT_EQ("wasm32-unknown-wasi", in TEST()
724 Triple::normalize("wasm32-wasi")); // wasm32-unknown-wasi in TEST()
725 EXPECT_EQ("wasm64-unknown-wasi", in TEST()
726 Triple::normalize("wasm64-wasi")); // wasm64-unknown-wasi in TEST()
729 TEST(TripleTest, MutateName) { in TEST() function
738 EXPECT_EQ("i386--", T.getTriple()); in TEST()
743 EXPECT_EQ("i386-pc-", T.getTriple()); in TEST()
749 EXPECT_EQ("i386-pc-linux", T.getTriple()); in TEST()
751 T.setEnvironmentName("gnu"); in TEST()
755 EXPECT_EQ("i386-pc-linux-gnu", T.getTriple()); in TEST()
761 EXPECT_EQ("i386-pc-freebsd-gnu", T.getTriple()); in TEST()
767 EXPECT_EQ("i386-pc-darwin", T.getTriple()); in TEST()
770 TEST(TripleTest, BitWidthPredicates) { in TEST() function
905 TEST(TripleTest, BitWidthArchVariants) { in TEST() function
1055 TEST(TripleTest, EndianArchVariants) { in TEST() function
1165 TEST(TripleTest, getOSVersion) { in TEST() function
1169 T = Triple("i386-apple-darwin9"); in TEST()
1184 T = Triple("x86_64-apple-darwin9"); in TEST()
1199 T = Triple("x86_64-apple-macosx"); in TEST()
1214 T = Triple("x86_64-apple-macosx10.7"); in TEST()
1229 T = Triple("x86_64-apple-macos11.0"); in TEST()
1240 T = Triple("arm64-apple-macosx11.5.8"); in TEST()
1253 T = Triple("x86_64-apple-macos10.16"); in TEST()
1260 T = Triple("x86_64-apple-darwin20"); in TEST()
1267 T = Triple("armv7-apple-ios"); in TEST()
1282 T = Triple("armv7-apple-ios7.0"); in TEST()
1298 T = Triple("x86_64-apple-ios10.3-simulator"); in TEST()
1307 T = Triple("x86_64-apple-ios13.0-macabi"); in TEST()
1318 TEST(TripleTest, isMacOSVersionLT) { in TEST() function
1319 Triple T = Triple("x86_64-apple-macos11"); in TEST()
1323 T = Triple("x86_64-apple-darwin20"); in TEST()
1329 TEST(TripleTest, CanonicalizeOSVersion) { in TEST() function
1339 TEST(TripleTest, FileFormat) { in TEST() function
1340 EXPECT_EQ(Triple::ELF, Triple("i686-unknown-linux-gnu").getObjectFormat()); in TEST()
1341 EXPECT_EQ(Triple::ELF, Triple("i686-unknown-freebsd").getObjectFormat()); in TEST()
1342 EXPECT_EQ(Triple::ELF, Triple("i686-unknown-netbsd").getObjectFormat()); in TEST()
1343 EXPECT_EQ(Triple::ELF, Triple("i686--win32-elf").getObjectFormat()); in TEST()
1344 EXPECT_EQ(Triple::ELF, Triple("i686---elf").getObjectFormat()); in TEST()
1346 EXPECT_EQ(Triple::MachO, Triple("i686-apple-macosx").getObjectFormat()); in TEST()
1347 EXPECT_EQ(Triple::MachO, Triple("i686-apple-ios").getObjectFormat()); in TEST()
1348 EXPECT_EQ(Triple::MachO, Triple("i686---macho").getObjectFormat()); in TEST()
1350 EXPECT_EQ(Triple::COFF, Triple("i686--win32").getObjectFormat()); in TEST()
1352 EXPECT_EQ(Triple::ELF, Triple("i686-pc-windows-msvc-elf").getObjectFormat()); in TEST()
1353 EXPECT_EQ(Triple::ELF, Triple("i686-pc-cygwin-elf").getObjectFormat()); in TEST()
1355 EXPECT_EQ(Triple::ELF, Triple("systemz-ibm-linux").getObjectFormat()); in TEST()
1356 EXPECT_EQ(Triple::ELF, Triple("systemz-ibm-unknown").getObjectFormat()); in TEST()
1358 EXPECT_EQ(Triple::GOFF, Triple("s390x-ibm-zos").getObjectFormat()); in TEST()
1359 EXPECT_EQ(Triple::GOFF, Triple("systemz-ibm-zos").getObjectFormat()); in TEST()
1360 EXPECT_EQ(Triple::GOFF, Triple("s390x-ibm-zos-goff").getObjectFormat()); in TEST()
1361 EXPECT_EQ(Triple::GOFF, Triple("s390x-unknown-zos-goff").getObjectFormat()); in TEST()
1362 EXPECT_EQ(Triple::GOFF, Triple("s390x---goff").getObjectFormat()); in TEST()
1364 EXPECT_EQ(Triple::Wasm, Triple("wasm32-unknown-unknown").getObjectFormat()); in TEST()
1365 EXPECT_EQ(Triple::Wasm, Triple("wasm64-unknown-unknown").getObjectFormat()); in TEST()
1366 EXPECT_EQ(Triple::Wasm, Triple("wasm32-wasi").getObjectFormat()); in TEST()
1367 EXPECT_EQ(Triple::Wasm, Triple("wasm64-wasi").getObjectFormat()); in TEST()
1368 EXPECT_EQ(Triple::Wasm, Triple("wasm32-unknown-wasi").getObjectFormat()); in TEST()
1369 EXPECT_EQ(Triple::Wasm, Triple("wasm64-unknown-wasi").getObjectFormat()); in TEST()
1372 Triple("wasm32-unknown-unknown-wasm").getObjectFormat()); in TEST()
1374 Triple("wasm64-unknown-unknown-wasm").getObjectFormat()); in TEST()
1376 Triple("wasm32-wasi-wasm").getObjectFormat()); in TEST()
1378 Triple("wasm64-wasi-wasm").getObjectFormat()); in TEST()
1380 Triple("wasm32-unknown-wasi-wasm").getObjectFormat()); in TEST()
1382 Triple("wasm64-unknown-wasi-wasm").getObjectFormat()); in TEST()
1384 EXPECT_EQ(Triple::XCOFF, Triple("powerpc-ibm-aix").getObjectFormat()); in TEST()
1385 EXPECT_EQ(Triple::XCOFF, Triple("powerpc64-ibm-aix").getObjectFormat()); in TEST()
1386 EXPECT_EQ(Triple::XCOFF, Triple("powerpc---xcoff").getObjectFormat()); in TEST()
1387 EXPECT_EQ(Triple::XCOFF, Triple("powerpc64---xcoff").getObjectFormat()); in TEST()
1389 EXPECT_EQ(Triple::ELF, Triple("csky-unknown-unknown").getObjectFormat()); in TEST()
1390 EXPECT_EQ(Triple::ELF, Triple("csky-unknown-linux").getObjectFormat()); in TEST()
1392 Triple MSVCNormalized(Triple::normalize("i686-pc-windows-msvc-elf")); in TEST()
1395 Triple GNUWindowsNormalized(Triple::normalize("i686-pc-windows-gnu-elf")); in TEST()
1398 Triple CygnusNormalised(Triple::normalize("i686-pc-windows-cygnus-elf")); in TEST()
1401 Triple CygwinNormalized(Triple::normalize("i686-pc-cygwin-elf")); in TEST()
1418 TEST(TripleTest, NormalizeWindows) { in TEST() function
1419 EXPECT_EQ("i686-pc-windows-msvc", Triple::normalize("i686-pc-win32")); in TEST()
1420 EXPECT_EQ("i686-unknown-windows-msvc", Triple::normalize("i686-win32")); in TEST()
1421 EXPECT_EQ("i686-pc-windows-gnu", Triple::normalize("i686-pc-mingw32")); in TEST()
1422 EXPECT_EQ("i686-unknown-windows-gnu", Triple::normalize("i686-mingw32")); in TEST()
1423 EXPECT_EQ("i686-pc-windows-gnu", Triple::normalize("i686-pc-mingw32-w64")); in TEST()
1424 EXPECT_EQ("i686-unknown-windows-gnu", Triple::normalize("i686-mingw32-w64")); in TEST()
1425 EXPECT_EQ("i686-pc-windows-cygnus", Triple::normalize("i686-pc-cygwin")); in TEST()
1426 EXPECT_EQ("i686-unknown-windows-cygnus", Triple::normalize("i686-cygwin")); in TEST()
1428 EXPECT_EQ("x86_64-pc-windows-msvc", Triple::normalize("x86_64-pc-win32")); in TEST()
1429 EXPECT_EQ("x86_64-unknown-windows-msvc", Triple::normalize("x86_64-win32")); in TEST()
1430 EXPECT_EQ("x86_64-pc-windows-gnu", Triple::normalize("x86_64-pc-mingw32")); in TEST()
1431 EXPECT_EQ("x86_64-unknown-windows-gnu", Triple::normalize("x86_64-mingw32")); in TEST()
1432 EXPECT_EQ("x86_64-pc-windows-gnu", in TEST()
1433 Triple::normalize("x86_64-pc-mingw32-w64")); in TEST()
1434 EXPECT_EQ("x86_64-unknown-windows-gnu", in TEST()
1435 Triple::normalize("x86_64-mingw32-w64")); in TEST()
1437 EXPECT_EQ("i686-pc-windows-elf", Triple::normalize("i686-pc-win32-elf")); in TEST()
1438 EXPECT_EQ("i686-unknown-windows-elf", Triple::normalize("i686-win32-elf")); in TEST()
1439 EXPECT_EQ("i686-pc-windows-macho", Triple::normalize("i686-pc-win32-macho")); in TEST()
1440 EXPECT_EQ("i686-unknown-windows-macho", in TEST()
1441 Triple::normalize("i686-win32-macho")); in TEST()
1443 EXPECT_EQ("x86_64-pc-windows-elf", Triple::normalize("x86_64-pc-win32-elf")); in TEST()
1444 EXPECT_EQ("x86_64-unknown-windows-elf", in TEST()
1445 Triple::normalize("x86_64-win32-elf")); in TEST()
1446 EXPECT_EQ("x86_64-pc-windows-macho", in TEST()
1447 Triple::normalize("x86_64-pc-win32-macho")); in TEST()
1448 EXPECT_EQ("x86_64-unknown-windows-macho", in TEST()
1449 Triple::normalize("x86_64-win32-macho")); in TEST()
1451 EXPECT_EQ("i686-pc-windows-cygnus", in TEST()
1452 Triple::normalize("i686-pc-windows-cygnus")); in TEST()
1453 EXPECT_EQ("i686-pc-windows-gnu", Triple::normalize("i686-pc-windows-gnu")); in TEST()
1454 EXPECT_EQ("i686-pc-windows-itanium", in TEST()
1455 Triple::normalize("i686-pc-windows-itanium")); in TEST()
1456 EXPECT_EQ("i686-pc-windows-msvc", Triple::normalize("i686-pc-windows-msvc")); in TEST()
1458 EXPECT_EQ("i686-pc-windows-elf", in TEST()
1459 Triple::normalize("i686-pc-windows-elf-elf")); in TEST()
1461 EXPECT_TRUE(Triple("x86_64-pc-win32").isWindowsMSVCEnvironment()); in TEST()
1464 TEST(TripleTest, getARMCPUForArch) { in TEST() function
1467 llvm::Triple Triple("arm--nacl"); in TEST()
1468 EXPECT_EQ("cortex-a8", Triple.getARMCPUForArch()); in TEST()
1471 llvm::Triple Triple("arm--openbsd"); in TEST()
1472 EXPECT_EQ("cortex-a8", Triple.getARMCPUForArch()); in TEST()
1475 llvm::Triple Triple("armv6-unknown-freebsd"); in TEST()
1476 EXPECT_EQ("arm1176jzf-s", Triple.getARMCPUForArch()); in TEST()
1479 llvm::Triple Triple("thumbv6-unknown-freebsd"); in TEST()
1480 EXPECT_EQ("arm1176jzf-s", Triple.getARMCPUForArch()); in TEST()
1483 llvm::Triple Triple("armebv6-unknown-freebsd"); in TEST()
1484 EXPECT_EQ("arm1176jzf-s", Triple.getARMCPUForArch()); in TEST()
1487 llvm::Triple Triple("arm--win32"); in TEST()
1488 EXPECT_EQ("cortex-a9", Triple.getARMCPUForArch()); in TEST()
1492 llvm::Triple Triple("armv7k-apple-ios9"); in TEST()
1493 EXPECT_EQ("cortex-a7", Triple.getARMCPUForArch()); in TEST()
1496 llvm::Triple Triple("armv7k-apple-watchos3"); in TEST()
1497 EXPECT_EQ("cortex-a7", Triple.getARMCPUForArch()); in TEST()
1500 llvm::Triple Triple("armv7k-apple-tvos9"); in TEST()
1501 EXPECT_EQ("cortex-a7", Triple.getARMCPUForArch()); in TEST()
1505 llvm::Triple Triple("armeb-none-eabi"); in TEST()
1509 llvm::Triple Triple("armebeb-none-eabi"); in TEST()
1513 llvm::Triple Triple("armebv6eb-none-eabi"); in TEST()
1518 llvm::Triple Triple("xscaleeb-none-eabi"); in TEST()
1522 llvm::Triple Triple("armebxscale-none-eabi"); in TEST()
1527 TEST(TripleTest, NormalizeARM) { in TEST() function
1528 EXPECT_EQ("armv6-unknown-netbsd-eabi", in TEST()
1529 Triple::normalize("armv6-netbsd-eabi")); in TEST()
1530 EXPECT_EQ("armv7-unknown-netbsd-eabi", in TEST()
1531 Triple::normalize("armv7-netbsd-eabi")); in TEST()
1532 EXPECT_EQ("armv6eb-unknown-netbsd-eabi", in TEST()
1533 Triple::normalize("armv6eb-netbsd-eabi")); in TEST()
1534 EXPECT_EQ("armv7eb-unknown-netbsd-eabi", in TEST()
1535 Triple::normalize("armv7eb-netbsd-eabi")); in TEST()
1536 EXPECT_EQ("armv6-unknown-netbsd-eabihf", in TEST()
1537 Triple::normalize("armv6-netbsd-eabihf")); in TEST()
1538 EXPECT_EQ("armv7-unknown-netbsd-eabihf", in TEST()
1539 Triple::normalize("armv7-netbsd-eabihf")); in TEST()
1540 EXPECT_EQ("armv6eb-unknown-netbsd-eabihf", in TEST()
1541 Triple::normalize("armv6eb-netbsd-eabihf")); in TEST()
1542 EXPECT_EQ("armv7eb-unknown-netbsd-eabihf", in TEST()
1543 Triple::normalize("armv7eb-netbsd-eabihf")); in TEST()
1545 EXPECT_EQ("armv7-suse-linux-gnueabihf", in TEST()
1546 Triple::normalize("armv7-suse-linux-gnueabi")); in TEST()
1549 T = Triple("armv6--netbsd-eabi"); in TEST()
1551 T = Triple("armv6eb--netbsd-eabi"); in TEST()
1553 T = Triple("armv7-suse-linux-gnueabihf"); in TEST()
1557 TEST(TripleTest, ParseARMArch) { in TEST() function