diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-08-24 20:00:52 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-08-24 20:00:52 +0000 |
commit | 4e34d502727df36cc2caa59307953444b1ee9914 (patch) | |
tree | 1d5178a459e9d954c87e2df954d66d741df2f334 /tools/llvm-nm | |
parent | fba88d49e3fbb68bb84c295a9639fe94f9a8c6aa (diff) | |
download | external_llvm-4e34d502727df36cc2caa59307953444b1ee9914.zip external_llvm-4e34d502727df36cc2caa59307953444b1ee9914.tar.gz external_llvm-4e34d502727df36cc2caa59307953444b1ee9914.tar.bz2 |
- Add the LinkerPrivateWeakDefAutoLinkage to the Ada bindings.
- Support the LinkerWeak*Linkage types in llvm-nm and in LinkModules.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-nm')
-rw-r--r-- | tools/llvm-nm/llvm-nm.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/llvm-nm/llvm-nm.cpp b/tools/llvm-nm/llvm-nm.cpp index fd7e7f6..34c4ff8 100644 --- a/tools/llvm-nm/llvm-nm.cpp +++ b/tools/llvm-nm/llvm-nm.cpp @@ -88,8 +88,11 @@ 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.hasLinkerPrivateWeakLinkage() || GV.hasAvailableExternallyLinkage()) + if (GV.hasPrivateLinkage() || + GV.hasLinkerPrivateLinkage() || + GV.hasLinkerPrivateWeakLinkage() || + GV.hasLinkerPrivateWeakDefAutoLinkage() || + GV.hasAvailableExternallyLinkage()) return; const std::string SymbolAddrStr = " "; // Not used yet... |