llvm-targets: Add amd64-unknown-freebsd triple
authorBen Gamari <ben@smart-cactus.org>
Thu, 13 Dec 2018 18:25:05 +0000 (13:25 -0500)
committerBen Gamari <ben@smart-cactus.org>
Fri, 14 Dec 2018 02:59:20 +0000 (21:59 -0500)
396aac4c65a47b6252e0a73d2a3066e924d53f11 added the
amd64-portbld-freebsd triple but #15718 suggests that we should rather
be using x86_64-unknown-freebsd. Not knowing which is correct I've left
the amd64-portbld- triplet in place.

llvm-targets
utils/llvm-targets/gen-data-layout.sh

index 2537ece..a73eb84 100644 (file)
@@ -17,6 +17,7 @@
 ,("aarch64-unknown-linux-android", ("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon"))
 ,("powerpc64le-unknown-linux", ("e-m:e-i64:64-n32:64", "ppc64le", ""))
 ,("amd64-portbld-freebsd", ("e-m:e-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
+,("x86_64-unknown-freebsd", ("e-m:e-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
 ,("arm-unknown-nto-qnx-eabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "arm7tdmi", "+strict-align"))
 ,("i386-apple-darwin", ("e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128", "yonah", ""))
 ,("x86_64-apple-darwin", ("e-m:o-i64:64-f80:128-n8:16:32:64-S128", "core2", ""))
index 85ee5c5..7060b10 100755 (executable)
@@ -34,6 +34,7 @@ TARGETS=(
 
     # FreeBSD amd64
     "amd64-portbld-freebsd"
+    "x86_64-unknown-freebsd" # See #15718
 
     # QNX
     "arm-unknown-nto-qnx-eabi"