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

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 3 13:23:26 PDT 2023


JDevlieghere added inline comments.


================
Comment at: lldb/cmake/modules/AddLLDB.cmake:175
+        CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
+      target_compile_options(${name} PRIVATE "-fvisibility=default")
+    endif()
----------------
Rather than changing the compile options directly, can we change the `CXX_VISIBILITY_PRESET` property?

```
set_target_properties((${name} PROPERTIES CXX_VISIBILITY_PRESET default)
```


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