[PATCH] D18357: [LTO] Include in .symtab/.dynsym symbols introduced by optimizations

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 28 15:26:46 PDT 2016


rafael added inline comments.

================
Comment at: ELF/SymbolTable.cpp:111
@@ -110,2 +110,3 @@
     Symbol *Sym = insert(Body);
-    if (!Sym->Body->isUndefined() && Body->isUndefined())
+   if (!Sym->Body->isUndefined() && Body->isUndefined()) {
+      Sym->Body->setUsedInRegularObj();
----------------
git-clang-format issue?


http://reviews.llvm.org/D18357





More information about the llvm-commits mailing list