[PATCH] D119612: [clang] Pass more flags to ld64.lld

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 11 19:17:35 PST 2022

thakis created this revision.
thakis added a reviewer: lld-macho.
Herald added subscribers: ormris, steven_wu, hiraditya.
thakis requested review of this revision.

- ld64.lld now completely supports -export_dynamic (D119372 <https://reviews.llvm.org/D119372>), so map -rdynamic to -export_dynamic like already done for ld64

- ld64.lld has been supporting -object_path_lto for well over a year (D92537 <https://reviews.llvm.org/D92537>), so pass it like already done for ld64

- ld64.lld has been doing ICF for a while, so pass -no_deduplicate in -O0 and -O1 builds like already done for ld64



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119612.408140.patch
Type: text/x-patch
Size: 8940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220212/daa08a75/attachment.bin>

More information about the cfe-commits mailing list