[lld] [ELF] Demote symbols in /DISCARD/ discarded sections to Undefined (PR #69295)

Bevin Hansson via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 01:51:41 PDT 2023


================
@@ -3023,7 +3056,6 @@ void LinkerDriver::link(opt::InputArgList &args) {
 
   // Garbage collection and removal of shared symbols from unused shared objects.
   invokeELFT(markLive,);
-  demoteSharedAndLazySymbols();
----------------
bevin-hansson wrote:

Does moving this not have an effect on the other functionality of the function?

https://github.com/llvm/llvm-project/pull/69295


More information about the llvm-commits mailing list