[PATCH] D104543: [lld/mac] Support -data_in_code_info, -function_starts flags

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 18 08:50:50 PDT 2021


thakis added inline comments.


================
Comment at: lld/test/MachO/data-in-code.s:7
 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/bar.s -o %t/bar.o
-# RUN: %lld %t/foo.o %t/bar.o -o %t/main.exe
+# RUN: %lld -lSystem %t/foo.o %t/bar.o -o %t/main.exe
 # RUN: llvm-otool -l %t/main.exe > %t/objdump
----------------
(I'm adding this because ld needs it, and I often locally replace `%lld` with `ld` to verify that the test would pass with ld64 too.)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104543/new/

https://reviews.llvm.org/D104543



More information about the llvm-commits mailing list