summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-04-15 17:43:54 +0000
committerReid Kleckner <reid@kleckner.net>2015-04-15 17:43:54 +0000
commit7ce2baeb81975e4040714246cc0d62c80fe019ec (patch)
treee68f90e8eddb57e5ab144a28ac8dbaddebdd2edd /llvm/lib
parent25db4f41419460c3c5b58eceec3b37fa9a51e9c0 (diff)
downloadbcm5719-llvm-7ce2baeb81975e4040714246cc0d62c80fe019ec.tar.gz
bcm5719-llvm-7ce2baeb81975e4040714246cc0d62c80fe019ec.zip
Revert "[WinEH] Use the parent function when computing frameescape labels"
This reverts commit r235025. The test isn't passing yet. llvm-svn: 235027
Diffstat (limited to 'llvm/lib')
-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 0d422d83e2d..8cbf3407cf7 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(ParentF->getName()),
+ GlobalValue::getRealLinkageName(F->getName()),
HT.CatchObjRecoverIdx);
FrameAllocOffsetRef = MCSymbolRefExpr::Create(
FrameAllocOffset, MCSymbolRefExpr::VK_None, Asm->OutContext);
OpenPOWER on IntegriCloud