summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-16 18:27:24 +0000
committerChris Lattner <sabre@nondot.org>2003-10-16 18:27:24 +0000
commit9eb52a5c2913ebb105463e2fe7500664902a4468 (patch)
treec54e9f565b1bb5a4dd77f0b29525eb0f77521500 /tools
parente63540307db8fbe87836f597c7edc98bc560dc67 (diff)
downloadllvm-9eb52a5c2913ebb105463e2fe7500664902a4468.tar.gz
llvm-9eb52a5c2913ebb105463e2fe7500664902a4468.tar.bz2
llvm-9eb52a5c2913ebb105463e2fe7500664902a4468.tar.xz
Geeze, what is with Brian and these ifdef's?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-nm/llvm-nm.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/llvm-nm/llvm-nm.cpp b/tools/llvm-nm/llvm-nm.cpp
index c819bb9307..2f59d69b2d 100644
--- 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';