Geeze, what is with Brian and these ifdef's?
authorChris Lattner <sabre@nondot.org>
Thu, 16 Oct 2003 18:27:24 +0000 (18:27 +0000)
committerChris 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

index c819bb9307a5f877c7ce468548880f4485429bca..2f59d69b2d95e0492856af2d8700bd36b22e87c3 100644 (file)
@@ -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';