diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-06-29 22:34:52 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-06-29 22:34:52 +0000 |
commit | 07d317711781d8c9268f7d6afcf1ba7eadf1d127 (patch) | |
tree | 2e2826cb827a826cfdcd2e475e9b69dfd0b1009f /tools/llvm-nm | |
parent | e025e966a863229feb7ad188f520ce213bb30a34 (diff) | |
download | external_llvm-07d317711781d8c9268f7d6afcf1ba7eadf1d127.zip external_llvm-07d317711781d8c9268f7d6afcf1ba7eadf1d127.tar.gz external_llvm-07d317711781d8c9268f7d6afcf1ba7eadf1d127.tar.bz2 |
Revert r107205 and r107207.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-nm')
-rw-r--r-- | tools/llvm-nm/llvm-nm.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/llvm-nm/llvm-nm.cpp b/tools/llvm-nm/llvm-nm.cpp index 987ada9..2baf532 100644 --- a/tools/llvm-nm/llvm-nm.cpp +++ b/tools/llvm-nm/llvm-nm.cpp @@ -89,8 +89,7 @@ static char TypeCharForSymbol(GlobalValue &GV) { static void DumpSymbolNameForGlobalValue(GlobalValue &GV) { // Private linkage and available_externally linkage don't exist in symtab. if (GV.hasPrivateLinkage() || GV.hasLinkerPrivateLinkage() || - GV.hasLinkerWeakLinkage() || GV.hasAvailableExternallyLinkage()) - return; + GV.hasAvailableExternallyLinkage()) return; const std::string SymbolAddrStr = " "; // Not used yet... char TypeChar = TypeCharForSymbol(GV); |