summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGreg Steuck <greg@nest.cx>2021-12-11 19:49:21 -0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-12-14 20:55:43 -0500
commit34abbd81b75fb6ca381f0609257de6bf42471237 (patch)
tree8df561e80dd0daedcbf61dfb51bb0385c5a4213e /utils
parent70f0aafee13894fc0d6ca944682a77130bce7289 (diff)
downloadhaskell-34abbd81b75fb6ca381f0609257de6bf42471237.tar.gz
Add OpenBSD to llvm-targets
This improves some tests that previously failed with: ghc: panic! (the 'impossible' happened) GHC version 9.3.20211211: Failed to lookup LLVM data layout Target: x86_64-unknown-openbsd Added the new generated lines to `llvm-targets` on an openbsd 7.0-current with clang 11.1.0.
Diffstat (limited to 'utils')
-rwxr-xr-xutils/llvm-targets/gen-data-layout.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/llvm-targets/gen-data-layout.sh b/utils/llvm-targets/gen-data-layout.sh
index b85f77438d..982e178a47 100755
--- a/utils/llvm-targets/gen-data-layout.sh
+++ b/utils/llvm-targets/gen-data-layout.sh
@@ -114,6 +114,13 @@ TARGETS=(
"aarch64-unknown-netbsd"
#########################
+ # OpenBSD
+ #########################
+
+ "x86_64-unknown-openbsd"
+ "i386-unknown-openbsd"
+
+ #########################
# Other
#########################