Add suffix for stubs, so we won't have name clashes with private symbols.

llvm-svn: 96286
This commit is contained in:
Anton Korobeynikov 2010-02-15 22:36:26 +00:00
parent ae4ccc10da
commit 397aecb6d6
1 changed files with 1 additions and 0 deletions

View File

@ -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.