[PATCH] D124065: [ELF] Drop unused original symbol after wrapping if not defined
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 22 15:17:48 PDT 2022
MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lld/ELF/Driver.cpp:2182
Symbol *sym = symtab->find(name);
- // Avoid wrapping symbols that are lazy and unreferenced at this point, to
- // not create undefined references. The isUsedInRegularObj check handles the
----------------
The comment and code is from D118756. Mention it in the summary?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124065/new/
https://reviews.llvm.org/D124065
More information about the llvm-commits
mailing list