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

Peter Rong via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 13:49:54 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
----------------
DataCorrupted wrote:

`10.15` still generates `-data`,  any tips? (bumping to `10.16` would [enable relative method list](https://github.com/apple-oss-distributions/ld64/blob/47f477cb721755419018f7530038b272e9d0cdea/src/ld/ld.hpp#L310) and invalidate the purpose of testing)

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


More information about the llvm-commits mailing list