[clang] [C++20] [Modules] [Itanium ABI] Generate the vtable in the module unit of dynamic classes (PR #75912)
    Chuanqi Xu via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon Jun 10 23:42:23 PDT 2024
    
    
  
================
@@ -1830,6 +1830,9 @@ void ItaniumCXXABI::emitVTableDefinitions(CodeGenVTables &CGVT,
   if (VTable->hasInitializer())
     return;
 
+  if (RD->shouldEmitInExternalSource())
+    return;
----------------
ChuanqiXu9 wrote:
Yes and agreed. I just don't have an idea for how do that.
https://github.com/llvm/llvm-project/pull/75912
    
    
More information about the cfe-commits
mailing list