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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to