[Lldb-commits] [lldb] [lldb] Enforce that only the LLDB API unit tests can link liblldb (PR #162384)

Paul Kirth via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 8 13:50:11 PDT 2025


ilovepi wrote:

We're seeing this after this patch:

```console
- Performing Test CXX_SUPPORTS_NO_DOCUMENTATION_DEPRECATED_SYNC - Success
CMake Error at /b/s/w/ir/x/w/llvm-llvm-project/lldb/unittests/CMakeLists.txt:25 (message):
  The LLDBBreakpointTests are not allowed to link liblldb.
Call Stack (most recent call first):
  /b/s/w/ir/x/w/llvm-llvm-project/lldb/unittests/Breakpoint/CMakeLists.txt:1 (add_lldb_unittest)

```

Seems related to this change. would you mind taking a look?

Bot: https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/lldb-linux-x64/b8701546007217978577/overview
Log: https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket/8701546007217978577/+/u/build_and_install_lldb/configure/stdout

https://github.com/llvm/llvm-project/pull/162384


More information about the lldb-commits mailing list