Changes in directory llvm/tools/lto:
lto.cpp updated: 1.15 -> 1.16 --- Log message: Add comment. --- Diffs of the changes: (+3 -0) lto.cpp | 3 +++ 1 files changed, 3 insertions(+) Index: llvm/tools/lto/lto.cpp diff -u llvm/tools/lto/lto.cpp:1.15 llvm/tools/lto/lto.cpp:1.16 --- llvm/tools/lto/lto.cpp:1.15 Wed Sep 13 20:35:13 2006 +++ llvm/tools/lto/lto.cpp Thu Sep 14 00:49:10 2006 @@ -93,6 +93,9 @@ if (lt != LTOInternalLinkage && strncmp (gv->getName().c_str(), "llvm.", 5)) references.insert(mangler.getValueName(gv)); } + + // GlobalValue, even with InternalLinkage type, may have operands with + // ExternalLinkage type. Do not ignore these operands. if (Constant *c = dyn_cast<Constant>(value)) // Handle ConstantExpr, ConstantStruct, ConstantArry etc.. for (unsigned i = 0, e = c->getNumOperands(); i != e; ++i) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits