[llvm-branch-commits] [clang] [CIR] Implement function personality attribute and its lowering (PR #171001)
Andy Kaylor via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Dec 8 10:32:12 PST 2025
================
@@ -185,6 +185,18 @@ const EHPersonality &EHPersonality::get(CIRGenFunction &cgf) {
return get(cgf.cgm, dyn_cast_or_null<FunctionDecl>(fg));
}
+static llvm::StringRef getPersonalityFn(CIRGenModule &cgm,
+ const EHPersonality &personality) {
+ // Create the personality function type: i32 (...)
+ mlir::Type i32Ty = cgm.getBuilder().getI32Type();
----------------
andykaylor wrote:
Is it possible to test this or does it require additional implementation?
https://github.com/llvm/llvm-project/pull/171001
More information about the llvm-branch-commits
mailing list