mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 14:15:53 +00:00
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
This commit is contained in:
parent
9184b25fa5
commit
990a9fde39
@ -706,6 +706,7 @@ getSymbolForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
|
|||||||
|
|
||||||
SmallString<128> Name;
|
SmallString<128> Name;
|
||||||
Mang->getNameWithPrefix(Name, GV, true);
|
Mang->getNameWithPrefix(Name, GV, true);
|
||||||
|
Name += ".DW.stub";
|
||||||
|
|
||||||
// Add information about the stub reference to ELFMMI so that the stub
|
// Add information about the stub reference to ELFMMI so that the stub
|
||||||
// gets emitted by the asmprinter.
|
// gets emitted by the asmprinter.
|
||||||
|
Loading…
Reference in New Issue
Block a user