[PATCH] D33621: Fix for -wrap linker option and LTO, PR 33145

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 30 13:16:56 PDT 2017


pcc added inline comments.


================
Comment at: lld/ELF/SymbolTable.cpp:167
+template <class ELFT> void SymbolTable<ELFT>::addLTOSymbolAlias(StringRef Name) {
+  RenamedSymbols[Name] = true;
+}
----------------
What about the rename target? If I pass `--defsym=foo=bar`, the linker should not allow IPO past `foo`, right?


https://reviews.llvm.org/D33621





More information about the llvm-commits mailing list