[lld] [LLD, MachO] Default objc_relative_method_lists on MacOS11+/iOS14+ (PR #101360)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 10:27:01 PDT 2024


================
@@ -125,7 +136,7 @@ CHK_NO_REL-NEXT:		       imp +[MyClass class_method_02]
 .include "objc-macros.s"
 
 .section	__TEXT,__text,regular,pure_instructions
-.build_version macos, 11, 0
+.build_version macos, 10, 0
----------------
alx32 wrote:

It produces 11 output even when specifying `-triple=arm64-apple-macos10` ? 
Or where does it default - in this test we specificly specify either 10 or 11 triple in llvm-mc invocation.

https://github.com/llvm/llvm-project/pull/101360


More information about the llvm-commits mailing list