From 19bb38b9c93c7b94dfbe89a67f8a97d0cbf8e23a Mon Sep 17 00:00:00 2001 From: Jez Ng Date: Wed, 4 May 2022 18:01:34 -0400 Subject: [PATCH] [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 --- lld/test/MachO/lit.local.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/test/MachO/lit.local.cfg b/lld/test/MachO/lit.local.cfg index f1c4eab..bfeacfa 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)) -- 2.7.4