diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2010-02-15 22:36:26 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2010-02-15 22:36:26 +0000 |
| commit | 397aecb6d6c306ba83512cd409229c90655240a3 (patch) | |
| tree | e9f0a8410761dd0cfbb4dc18aefa73be1be841d5 /llvm/lib | |
| parent | ae4ccc10dab6d25711110f6b9ec530637c3d5231 (diff) | |
| download | bcm5719-llvm-397aecb6d6c306ba83512cd409229c90655240a3.tar.gz bcm5719-llvm-397aecb6d6c306ba83512cd409229c90655240a3.zip | |
Add suffix for stubs, so we won't have name clashes with private symbols.
llvm-svn: 96286
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/TargetLoweringObjectFile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp index 88a978ac623..cfd49155adb 100644 --- a/llvm/lib/Target/TargetLoweringObjectFile.cpp +++ b/llvm/lib/Target/TargetLoweringObjectFile.cpp @@ -706,6 +706,7 @@ getSymbolForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, SmallString<128> Name; Mang->getNameWithPrefix(Name, GV, true); + Name += ".DW.stub"; // Add information about the stub reference to ELFMMI so that the stub // gets emitted by the asmprinter. |

