projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c38eac
)
Geeze, what is with Brian and these ifdef's?
author
Chris Lattner
<sabre@nondot.org>
Thu, 16 Oct 2003 18:27:24 +0000
(18:27 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 16 Oct 2003 18:27:24 +0000
(18:27 +0000)
llvm-svn: 9169
llvm/tools/llvm-nm/llvm-nm.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-nm/llvm-nm.cpp
b/llvm/tools/llvm-nm/llvm-nm.cpp
index
c819bb9
..
2f59d69
100644
(file)
--- a/
llvm/tools/llvm-nm/llvm-nm.cpp
+++ b/
llvm/tools/llvm-nm/llvm-nm.cpp
@@
-54,9
+54,7
@@
namespace {
char TypeCharForSymbol (GlobalValue &GV) {
if (GV.isExternal ()) return 'U';
if (GV.hasLinkOnceLinkage ()) return 'C';
-#ifdef WEAK_LINKAGE_EVENTUALLY_IMPLEMENTED
if (GV.hasWeakLinkage ()) return 'W';
-#endif
if (isa<Function> (GV) && GV.hasInternalLinkage ()) return 't';
if (isa<Function> (GV)) return 'T';
if (isa<GlobalVariable> (GV) && GV.hasInternalLinkage ()) return 'd';