[Lldb-commits] [PATCH] D147453: [LLDB] Ensure LLDB symbols are exported in LLDB_EXPORT_ALL_SYMBOLS is provided.

River Riddle via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 3 10:50:02 PDT 2023


rriddle added inline comments.


================
Comment at: lldb/cmake/modules/AddLLDB.cmake:173
+  if (LLDB_EXPORT_ALL_SYMBOLS)
+    if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
+      target_compile_options(${name} PRIVATE "-fvisibility=default")
----------------
Other places uses `if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")` to check for non-windows, should that check be used here as well? Not sure what's consistent for the lldb codebase.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147453/new/

https://reviews.llvm.org/D147453



More information about the lldb-commits mailing list