Skip to content

Commit 26f706f

Browse files
committed
add extra CI logging
1 parent 14617bd commit 26f706f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/IRGen/GenDecl.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -3278,15 +3278,22 @@ llvm::CallBase *swift::irgen::emitCXXConstructorCall(
32783278
llvm::ArrayRef<llvm::Value *> args) {
32793279
bool canThrow = IGF.IGM.isForeignExceptionHandlingEnabled();
32803280
if (auto *fpt = ctor->getType()->getAs<clang::FunctionProtoType>()) {
3281+
llvm::errs() << "STEP A" << (void*)fpt << "\n";
3282+
llvm::errs() << "est:" << fpt->getExceptionSpecType() << "\n";
32813283
if (fpt->getExceptionSpecType() ==
32823284
clang::ExceptionSpecificationType::EST_Unevaluated) {
3285+
llvm::errs() << "STEP B!\n";
32833286
// Clang might not have evaluated the exception spec for
32843287
// a constructor, so force the evaluation of it.
32853288
auto &clangSema = IGF.IGM.Context.getClangModuleLoader()->getClangSema();
32863289
clangSema.EvaluateImplicitExceptionSpec(
32873290
ctor->getLocation(), const_cast<clang::CXXConstructorDecl *>(ctor));
32883291
fpt = ctor->getType()->getAs<clang::FunctionProtoType>();
3292+
llvm::errs() << "STEP B2" << (void*)fpt << "\n";
32893293
}
3294+
llvm::errs() << "STEP C!\n";
3295+
llvm::errs() << "est:" << fpt->getExceptionSpecType() << "\n";
3296+
llvm::errs() << "STEP D" << (void*)fpt << "\n";
32903297
if (fpt && fpt->isNothrow())
32913298
canThrow = false;
32923299
}

0 commit comments

Comments
 (0)