[PATCH] D25855: [lld] Optimize undefined weak symbols in LTO link.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 20 17:34:31 PDT 2016
eugenis added inline comments.
================
Comment at: ELF/LTO.cpp:115
+ R.Undefined = B->isUndefined() &&
+ (ObjSym.getFlags() & object::BasicSymbolRef::SF_Undefined);
+
----------------
I'm not sure this condition is correct. isUndefined() is true for non-prevailing definitions, which I try to avoid.
Repository:
rL LLVM
https://reviews.llvm.org/D25855
More information about the llvm-commits
mailing list