From 6e3b5d40fca1cfd1362b6654e2c2ff6c31465039 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 15 Apr 2015 17:47:26 +0000 Subject: Reland "[WinEH] Use the parent function when computing frameescape labels" Fixed the test by removing extraneous quotes. llvm-svn: 235028 --- llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib') 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); -- cgit v1.2.3