[PATCH] D117387: [lld-macho] Allow deduplicate-literals to be overridden

Vincent Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 18 12:46:58 PST 2022


thevinster marked 2 inline comments as done.
thevinster added a comment.

> It's worth noting that -no_deduplicate in ld64 actually turns off ICF, not string merging. I don't know if ld64 even has a way to turn off string merging, since IIRC it's implemented in the symbol table itself.

Yup. LLD's `-no_deduplicate` also turns off ICF but it _also_ turns off string merging. It's probably worth documenting this as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117387



More information about the llvm-commits mailing list