summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGException.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2019-01-16 00:50:44 +0000
committerEli Friedman <efriedma@codeaurora.org>2019-01-16 00:50:44 +0000
commitc4c43b2bad56784f8d8d122029464882c54ee3ce (patch)
tree208ea185ffa476452c19bbfb2fae3f2d84ea14a2 /clang/lib/CodeGen/CGException.cpp
parent500e3ead9fa5cf27e8dcadae509ffbe93ee0d3bb (diff)
downloadbcm5719-llvm-c4c43b2bad56784f8d8d122029464882c54ee3ce.tar.gz
bcm5719-llvm-c4c43b2bad56784f8d8d122029464882c54ee3ce.zip
[EH] Rename llvm.x86.seh.recoverfp intrinsic to llvm.eh.recoverfp
This is the clang counterpart to D56747. Patch by Mandeep Singh Grang. Differential Revision: https://reviews.llvm.org/D56748 llvm-svn: 351284
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
-rw-r--r--clang/lib/CodeGen/CGException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp
index f1298d12014..dd4298cc57f 100644
--- a/clang/lib/CodeGen/CGException.cpp
+++ b/clang/lib/CodeGen/CGException.cpp
@@ -1781,7 +1781,7 @@ void CodeGenFunction::EmitCapturedLocals(CodeGenFunction &ParentCGF,
// frame pointer of the parent function. We only need to do this in filters,
// since finally funclets recover the parent FP for us.
llvm::Function *RecoverFPIntrin =
- CGM.getIntrinsic(llvm::Intrinsic::x86_seh_recoverfp);
+ CGM.getIntrinsic(llvm::Intrinsic::eh_recoverfp);
llvm::Constant *ParentI8Fn =
llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy);
ParentFP = Builder.CreateCall(RecoverFPIntrin, {ParentI8Fn, EntryFP});
OpenPOWER on IntegriCloud