[clang] [Fuchsia] Build with -fvisibility=default (PR #67067)

Roland McGrath via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 17:00:38 PDT 2023


================
@@ -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


More information about the cfe-commits mailing list