================ @@ -52,6 +52,7 @@ set(ENABLE_LINKER_BUILD_ID ON CACHE BOOL "") set(ENABLE_X86_RELAX_RELOCATIONS ON CACHE BOOL "") set(CMAKE_BUILD_TYPE Release CACHE STRING "") +set(CMAKE_CXX_VISIBILITY_PRESET default CACHE STRING "") ---------------- frobtech wrote:
It merits a comment here that this works around some issues with relative vtables. I think we want to actually figure out and resolve those issues so they don't come up, so I think this should be a TODO(bug#) comment pointing to a bug about the unresolved issues with mixing those TUs. https://github.com/llvm/llvm-project/pull/67067 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits