[all-commits] [llvm/llvm-project] 7e74c7: [lldb] Add LLDB_ENABLE_DYNAMIC_SCRIPTINTERPRETERS ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed May 6 15:18:31 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e74c78ea342c0a7dda249c054085e824b77016e
      https://github.com/llvm/llvm-project/commit/7e74c78ea342c0a7dda249c054085e824b77016e
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M lldb/cmake/modules/LLDBConfig.cmake
    M lldb/include/lldb/Host/Config.h.cmake

  Log Message:
  -----------
  [lldb] Add LLDB_ENABLE_DYNAMIC_SCRIPTINTERPRETERS option (#196110)

Add a CMake option that will gate building the script interpreter
plugins as separate shared libraries, and expose it to C++ via
lldb/Host/Config.h.

The option defaults to OFF and currently has no consumers; subsequent
patches wire up the plugin, binding, and test build to use it.

Because dynamic plugins resolve lldb_private symbols against liblldb at
runtime, enabling this option implies LLDB_EXPORT_ALL_SYMBOLS. The
default for LLDB_EXPORT_ALL_SYMBOLS now follows
LLDB_ENABLE_DYNAMIC_SCRIPTINTERPRETERS, and a FATAL_ERROR is raised if
the user explicitly disables symbol export while requesting dynamic
plugins.

Extracted from #189718 for easier reviewing.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list