[Lldb-commits] [PATCH] D73016: [lldb/CMake] Make it possible to disable plugins at configuration time

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Jan 19 23:48:42 PST 2020


teemperor added a comment.

How does this deal with linking flags etc.? Your cmake cache disabled `LLDB_PLUGIN_SYMBOLFILE_NATIVEPDB_BUILD` (well, it would without the LDB typo) but that just gives me a build that fails to link with `ld: error: unable to find library -llldbPluginSymbolFileNativePDB`.

Do we want to deal with dependencies between plugins? E.g. Language/CPlusPlus depending on Language/ClangCommon, so will CPlusPlus disabled too if I disable ClangCommon?



================
Comment at: lldb/cmake/caches/Apple-lldb-macOS.cmake:21
+# Disable platform plugins.
+set(LDB_PLUGIN_PLATFORM_ANDROID_BUILD OFF CACHE BOOL "")
+set(LDB_PLUGIN_PLATFORM_FREEBSD_BUILD OFF CACHE BOOL "")
----------------
`LDB` -> `LLDB` (here and in your description).


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D73016





More information about the lldb-commits mailing list