Changes in directory llvm/tools/llvm-nm:
llvm-nm.cpp updated: 1.29 -> 1.30 --- Log message: For PR1136: http://llvm.org/PR1136 : Rename GlobalVariable::isExternal as isDeclaration to avoid confusion with external linkage types. --- Diffs of the changes: (+1 -1) llvm-nm.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llvm-nm/llvm-nm.cpp diff -u llvm/tools/llvm-nm/llvm-nm.cpp:1.29 llvm/tools/llvm-nm/llvm-nm.cpp:1.30 --- llvm/tools/llvm-nm/llvm-nm.cpp:1.29 Tue Dec 5 19:18:01 2006 +++ llvm/tools/llvm-nm/llvm-nm.cpp Tue Jan 30 14:08:38 2007 @@ -67,7 +67,7 @@ } static char TypeCharForSymbol(GlobalValue &GV) { - if (GV.isExternal()) return 'U'; + if (GV.isDeclaration()) return 'U'; if (GV.hasLinkOnceLinkage()) return 'C'; if (GV.hasWeakLinkage()) return 'W'; if (isa<Function>(GV) && GV.hasInternalLinkage()) return 't'; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits