[lld] 19bb38b - [lld-macho][nfc] Set test min version to 11.0
Jez Ng via llvm-commits
llvm-commits at lists.llvm.org
Wed May 4 15:01:48 PDT 2022
Author: Jez Ng
Date: 2022-05-04T18:01:34-04:00
New Revision: 19bb38b9c93c7b94dfbe89a67f8a97d0cbf8e23a
URL: https://github.com/llvm/llvm-project/commit/19bb38b9c93c7b94dfbe89a67f8a97d0cbf8e23a
DIFF: https://github.com/llvm/llvm-project/commit/19bb38b9c93c7b94dfbe89a67f8a97d0cbf8e23a.diff
LOG: [lld-macho][nfc] Set test min version to 11.0
The arm64-apple-macos triple is only valid for versions >= 11.0. (If
one passes arm64-apple-macos10.15 to llvm-mc, the output's min version is still
11.0). In order to write tests easily for both target archs, let's up the
default min version in our tests.
Reviewed By: #lld-macho, thakis
Differential Revision: https://reviews.llvm.org/D124562
Added:
Modified:
lld/test/MachO/lit.local.cfg
Removed:
################################################################################
diff --git a/lld/test/MachO/lit.local.cfg b/lld/test/MachO/lit.local.cfg
index f1c4eab53086e..bfeacfaca0871 100644
--- a/lld/test/MachO/lit.local.cfg
+++ b/lld/test/MachO/lit.local.cfg
@@ -19,7 +19,7 @@ config.substitutions.append(('%no-arg-lld', 'ld64.lld'))
# Since most of our tests are written around x86_64, we give this platform the
# shortest substitution of "%lld".
-lld = ('ld64.lld -arch x86_64 -platform_version macos 10.15 11.0 -syslibroot ' +
+lld = ('ld64.lld -arch x86_64 -platform_version macos 11.0 11.0 -syslibroot ' +
os.path.join(config.test_source_root, "MachO", "Inputs", "MacOSX.sdk"))
config.substitutions.append(('%lld', lld + ' -fatal_warnings'))
config.substitutions.append(('%no-fatal-warnings-lld', lld))
More information about the llvm-commits
mailing list