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 | fb37d02362ee41f1b53b41450e17285549526bf6 (patch) | |
tree | 03b65e08e8abb9bae4f2e8c44eef4b16c7f008d2 /lib/Target/TargetLoweringObjectFile.cpp | |
parent | d779bcb96ab72939243f1fdd85a2daae863a82c4 (diff) | |
download | external_llvm-fb37d02362ee41f1b53b41450e17285549526bf6.tar.gz external_llvm-fb37d02362ee41f1b53b41450e17285549526bf6.tar.bz2 external_llvm-fb37d02362ee41f1b53b41450e17285549526bf6.zip |
Add suffix for stubs, so we won't have name clashes with private symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r-- | lib/Target/TargetLoweringObjectFile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp index 88a978ac62..cfd49155ad 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/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. |