summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-04-15 17:47:26 +0000
committerReid Kleckner <reid@kleckner.net>2015-04-15 17:47:26 +0000
commit6e3b5d40fca1cfd1362b6654e2c2ff6c31465039 (patch)
tree0c90f38c89e1df62dd1af8788a66869d6acd6047 /llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp
parent7ce2baeb81975e4040714246cc0d62c80fe019ec (diff)
downloadbcm5719-llvm-6e3b5d40fca1cfd1362b6654e2c2ff6c31465039.tar.gz
bcm5719-llvm-6e3b5d40fca1cfd1362b6654e2c2ff6c31465039.zip
Reland "[WinEH] Use the parent function when computing frameescape labels"
Fixed the test by removing extraneous quotes. llvm-svn: 235028
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp b/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp
index 8cbf3407cf7..0d422d83e2d 100644
--- a/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp
@@ -468,7 +468,7 @@ void Win64Exception::emitCXXFrameHandler3Table(const MachineFunction *MF) {
if (HT.CatchObjRecoverIdx >= 0) {
MCSymbol *FrameAllocOffset =
Asm->OutContext.getOrCreateFrameAllocSymbol(
- GlobalValue::getRealLinkageName(F->getName()),
+ GlobalValue::getRealLinkageName(ParentF->getName()),
HT.CatchObjRecoverIdx);
FrameAllocOffsetRef = MCSymbolRefExpr::Create(
FrameAllocOffset, MCSymbolRefExpr::VK_None, Asm->OutContext);
OpenPOWER on IntegriCloud