[llvm-commits] [llvm] r114850 - /llvm/trunk/tools/lto/LTOModule.cpp
Duncan Sands
baldrick at free.fr
Tue Sep 28 02:14:10 PDT 2010
Hi Bill,
> // set definition part
> - if (def->hasWeakLinkage() || def->hasLinkOnceLinkage()) {
> + if (def->hasWeakLinkage() || def->hasLinkOnceLinkage() ||
> + def->hasLinkerPrivateWeakLinkage() ||
> + def->hasLinkerPrivateWeakDefAutoLinkage()) {
> attr |= LTO_SYMBOL_DEFINITION_WEAK;
maybe this should be using isWeakForLinker (from GlobalValue.h)? It doesn't
have exactly the same list of linkage types, but it's suspiciously close.
Ciao,
Duncan.
More information about the llvm-commits
mailing list