File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -621,12 +621,12 @@ EHScopeStack::stabilize(iterator ir) const {
621621
622622// / The exceptions personality for a function.
623623struct EHPersonality {
624- const char *PersonalityFn;
624+ const char *PersonalityFn = nullptr ;
625625
626626 // If this is non-null, this personality requires a non-standard
627627 // function for rethrowing an exception after a catchall cleanup.
628628 // This function must have prototype void(void*).
629- const char *CatchallRethrowFn;
629+ const char *CatchallRethrowFn = nullptr ;
630630
631631 static const EHPersonality &get (CIRGenModule &CGM,
632632 const clang::FunctionDecl *FD);
Original file line number Diff line number Diff line change 1- // RUN: true
2- // DISABLED: %clang_cc1 -std=c++20 -triple aarch64-none-linux-android21 -fclangir -emit-cir -mmlir --mlir-print-ir-before=cir-lowering-prepare %s -o %t.cir 2>&1 | FileCheck %s -check-prefix=CIR_BEFORE
3- // DISABLED: FileCheck %s -check-prefix=CIR_AFTER --input-file=%t.cir
4- // DISABLED: %clang_cc1 -std=c++20 -triple aarch64-none-linux-android21 -fclangir -emit-llvm %s -o %t.ll
5- // DISABLED: FileCheck %s -check-prefix=LLVM --input-file=%t.ll
6- // DISABLED: %clang_cc1 -std=c++20 -triple aarch64-none-linux-android21 -fclangir -emit-cir -fexceptions -fcxx-exceptions %s -o %t.eh.cir
7- // DISABLED: FileCheck %s -check-prefix=CIR_EH --input-file=%t.eh.cir
8- // DISABLED: %clang_cc1 -std=c++20 -triple aarch64-none-linux-android21 -fclangir -emit-cir-flat -fexceptions -fcxx-exceptions %s -o %t.eh.flat.cir
9- // DISABLED: FileCheck %s -check-prefix=CIR_FLAT_EH --input-file=%t.eh.flat.cir
10- // DISABLED: %clang_cc1 -std=c++20 -triple aarch64-none-linux-android21 -fclangir -emit-llvm -fexceptions -fcxx-exceptions %s -o %t.eh.ll
11- // DISABLED: FileCheck %s -check-prefix=LLVM_EH --input-file=%t.eh.ll
1+ // RUN: %clang_cc1 -std=c++20 -triple aarch64-none-linux-android21 -fclangir -emit-cir -mmlir --mlir-print-ir-before=cir-lowering-prepare %s -o %t.cir 2>&1 | FileCheck %s -check-prefix=CIR_BEFORE
2+ // RUN: FileCheck %s -check-prefix=CIR_AFTER --input-file=%t.cir
3+ // RUN: %clang_cc1 -std=c++20 -triple aarch64-none-linux-android21 -fclangir -emit-llvm %s -o %t.ll
4+ // RUN: FileCheck %s -check-prefix=LLVM --input-file=%t.ll
5+ // RUN: %clang_cc1 -std=c++20 -triple aarch64-none-linux-android21 -fclangir -emit-cir -fexceptions -fcxx-exceptions %s -o %t.eh.cir
6+ // RUN: FileCheck %s -check-prefix=CIR_EH --input-file=%t.eh.cir
7+ // RUN: %clang_cc1 -std=c++20 -triple aarch64-none-linux-android21 -fclangir -emit-cir-flat -fexceptions -fcxx-exceptions %s -o %t.eh.flat.cir
8+ // RUN: FileCheck %s -check-prefix=CIR_FLAT_EH --input-file=%t.eh.flat.cir
9+ // RUN: %clang_cc1 -std=c++20 -triple aarch64-none-linux-android21 -fclangir -emit-llvm -fexceptions -fcxx-exceptions %s -o %t.eh.ll
10+ // RUN: FileCheck %s -check-prefix=LLVM_EH --input-file=%t.eh.ll
1211
1312struct e { e(int ); };
1413e *g = new e(0 );
You can’t perform that action at this time.
0 commit comments