[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:16:52 PDT 2025
n2h9 wrote:
> I have just walked through this code in debugger, and looks like when we throw pointer to int, we do not reach this case
>
> ```
> case Type::ObjCObjectPointer:
> case Type::Pointer:
> return "_ZTVN10__cxxabiv119__pointer_type_infoE";
> ```
>
> we reach it if we throw pointer to object. But in that case I receive `error: ClangIR code gen Not Yet Implemented: buildTypeInfo: Pointer` let me check how to handle this 😊
> I have just walked through this code in debugger, and looks like when we throw pointer to int, we do not reach this case
>
> ```
> case Type::ObjCObjectPointer:
> case Type::Pointer:
> return "_ZTVN10__cxxabiv119__pointer_type_infoE";
> ```
>
> we reach it if we throw pointer to object. But in that case I receive `error: ClangIR code gen Not Yet Implemented: buildTypeInfo: Pointer` let me check how to handle this 😊
Skip `VTableClassNameForType` function update for now for:
- `Type::ObjCObjectPointer`
- `Type::Pointer`
Because this types handling is not implemented yet, as per this comment https://github.com/llvm/llvm-project/issues/163601#issuecomment-3422975700
https://github.com/llvm/llvm-project/pull/163850
More information about the cfe-commits
mailing list