================
@@ -1830,6 +1830,9 @@ void ItaniumCXXABI::emitVTableDefinitions(CodeGenVTables
&CGVT,
if (VTable->hasInitializer())
return;
+ if (RD->shouldEmitInExternalSource())
+ return;
----------------
dwblaikie wrote:
Yes, and we do emit them in normal builds above -O0 if the vtable is homed
elsewhere due to a key function for instance - they can be used to allow for
devirtualization
https://github.com/llvm/llvm-project/pull/75912
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits