[clang] [CIR] Implement pointer type RTTI (PR #184011)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 11 06:25:10 PDT 2026


================
@@ -1009,12 +1043,10 @@ const char *vTableClassNameForType(const CIRGenModule &cgm, const Type *ty) {
 
   case Type::ObjCObjectPointer:
   case Type::Pointer:
-    cgm.errorNYI("VTableClassNameForType: __pointer_type_info");
-    break;
+    return "_ZTVN10__cxxabiv119__pointer_type_infoE";
----------------
erichkeane wrote:

I did at least some of these names in a previous patch.  nothing to change now, just note that you'll likely have a couple of these names conflict during merges (to whoever clicks the button!).

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


More information about the cfe-commits mailing list