forked from OSchip/llvm-project
Add suffix for stubs, so we won't have name clashes with private symbols.
llvm-svn: 96286
This commit is contained in:
parent
ae4ccc10da
commit
397aecb6d6
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue