[PATCH] D123752: [lld] Implement safe icf for MachO

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 09:32:20 PDT 2022


int3 added a comment.

Re testing: you can look at https://github.com/llvm/llvm-project/blob/main/lld/test/MachO/icf.s for inspiration. I would probably create a new test file that has some address-significant functions, and check that we don't dedup them with `--icf=safe` while continuing to do so with `--icf=all`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123752



More information about the llvm-commits mailing list