[clang] [CIR] vTableClassNameForType: return correct VTableClass name for Type::ObjCObjectPointer, Type::Pointer (PR #163850)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 20 10:13:53 PDT 2025
================
@@ -244,3 +244,32 @@ void throw_enum_class_expr() {
// OGCG: store i32 0, ptr %[[EXCEPTION_ADDR]], align 16
// OGCG: call void @__cxa_throw(ptr %[[EXCEPTION_ADDR]], ptr @_ZTIZ21throw_enum_class_exprvE4Test, ptr null)
// OGCG: unreachable
+
+void throw_pointer_type() {
----------------
n2h9 wrote:
This test must be upated to throw pointer to object, if we throw pointer to int it does not go in ` case Type::Pointer:`
https://github.com/llvm/llvm-project/pull/163850
More information about the cfe-commits
mailing list