summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/TargetLoweringObjectFile.cpp1
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.
OpenPOWER on IntegriCloud