projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e635403
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9169
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-nm/llvm-nm.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-nm/llvm-nm.cpp
b/tools/llvm-nm/llvm-nm.cpp
index c819bb9307a5f877c7ce468548880f4485429bca..2f59d69b2d95e0492856af2d8700bd36b22e87c3 100644
(file)
--- a/
tools/llvm-nm/llvm-nm.cpp
+++ b/
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';