[llvm-commits] CVS: llvm/tools/llvm-nm/llvm-nm.cpp
Reid Spencer
reid at x10sys.com
Tue Jan 30 12:10:01 PST 2007
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';
More information about the llvm-commits
mailing list