[PATCH] D101182: [lld/mac] Support more flags for --reproduce
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 23 10:23:13 PDT 2021
int3 accepted this revision.
int3 added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lld/test/MachO/reproduce.s:8
# RUN: cd %t.dir
-# RUN: %lld -platform_version macos 10.10.0 11.0 build1/foo.o -o bar --reproduce repro1.tar
-# RUN: tar xOf repro1.tar repro1/%:t.dir/build1/foo.o > build1-foo.o
-# RUN: cmp build1/foo.o build1-foo.o
+# RUN: %lld -platform_version macos 10.10.0 11.0 \
+# RUN: -exported_symbols_list main.exports \
----------------
can we remove `-platform_version` here now that we include it in lit.local.cfg?
================
Comment at: lld/test/MachO/reproduce.s:31
+# RUN: cd repro1; %lld @response.txt
+
----------------
technically an accurate reproduction command would just be `ld64.lld @response.txt` since the other flags will be included in the response file
================
Comment at: lld/test/MachO/reproduce.s:44
+# RUN: cd repro2; %lld @response.txt
+
----------------
ditto
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101182/new/
https://reviews.llvm.org/D101182
More information about the llvm-commits
mailing list