mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
[WinEH] Fix a build issue in CGException.cpp
I was constructing an object without filling in all the fields. llvm-svn: 247851
This commit is contained in:
@@ -1845,8 +1845,7 @@ void CodeGenFunction::EnterSEHTryStmt(const SEHTryStmt &S) {
|
||||
HelperCGF.GenerateSEHFilterFunction(*this, *Except);
|
||||
llvm::Constant *OpaqueFunc =
|
||||
llvm::ConstantExpr::getBitCast(FilterFunc, Int8PtrTy);
|
||||
CatchScope->setHandler(0, CatchTypeInfo{OpaqueFunc},
|
||||
createBasicBlock("__except.ret"));
|
||||
CatchScope->setHandler(0, OpaqueFunc, createBasicBlock("__except.ret"));
|
||||
}
|
||||
|
||||
void CodeGenFunction::ExitSEHTryStmt(const SEHTryStmt &S) {
|
||||
|
||||
Reference in New Issue
Block a user