[PATCH] D135082: [lld-macho] Mark aliased symbols as noDeadStrip

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 19:23:00 PDT 2022


int3 added a comment.

> So I think we should add .subsections_via_symbols + add a comment to the test describing this deviation from ld64

Just for completeness: imitating this behavior isn't the most trivial since we track liveness at the InputSection level rather than at the symbol level. But I don't think it's important to imitate this, so it's all good


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135082



More information about the llvm-commits mailing list