================
@@ -946,8 +946,7 @@ const char *vTableClassNameForType(const CIRGenModule &cgm, 
const Type *ty) {
 
   case Type::FunctionNoProto:
   case Type::FunctionProto:
-    cgm.errorNYI("VTableClassNameForType: __function_type_info");
-    break;
+    return "__ZTSN10__cxxabiv120__function_type_infoE";
----------------
andykaylor wrote:

Yes. `__ZTSN10__cxxabiv120__function_type_infoE` is the _typeinfo name for 
`__cxxabiv1::__function_type_info` but what we need here is the vtable.

https://github.com/llvm/llvm-project/pull/163839
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to