[clang] [CIR] vTableClassNameForType: return correct VTableClass name for Type::ObjCObjectPointer, Type::Pointer (PR #163850)

via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 19 05:27:08 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 :blush: 

https://github.com/llvm/llvm-project/pull/163850


More information about the cfe-commits mailing list