[Lldb-commits] [lldb] [lldb/cmake] unittests: Breakpoint: remove liblldb dep (PR #162571)
Justin Stitt via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 8 16:29:18 PDT 2025
https://github.com/JustinStitt created https://github.com/llvm/llvm-project/pull/162571
Remove the `liblldb` link target for these tests to fix CI failures.
Commit 02572c6e9bbb ("[lldb] Enforce that only the LLDB API unit tests can link liblldb") disallows linking against liblldb for most tests. Then, Commit f3e2c20a23b1 ("Make
SBBreakpoint/SBBreakpointLocation.SetCondition(nullptr) work again") got merged just after this commit (but before CI could report the regression).
The tests still pass for me with ` $ ./tools/lldb/unittests/Breakpoint/LLDBBreakpointTests`.
>From 87916926a2abf99c524f4987f6f280587e2761d6 Mon Sep 17 00:00:00 2001
From: Justin Stitt <justinstitt at google.com>
Date: Wed, 8 Oct 2025 16:23:32 -0700
Subject: [PATCH] [lldb/cmake] unittests: Breakpoint: remove liblldb dep
Remove the liblldb link target for these tests to fix CI failures.
Commit 02572c6e9bbb ("[lldb] Enforce that only the LLDB API unit tests
can link liblldb") disallows linking against liblldb for most tests.
Then, Commit f3e2c20a23b1 ("Make
SBBreakpoint/SBBreakpointLocation.SetCondition(nullptr) work again") got
merged just after this commit (but before CI could report the
regression).
Signed-off-by: Justin Stitt <justinstitt at google.com>
---
lldb/unittests/Breakpoint/CMakeLists.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/lldb/unittests/Breakpoint/CMakeLists.txt b/lldb/unittests/Breakpoint/CMakeLists.txt
index 3e4161313cd9d..c38b38bc5e90e 100644
--- a/lldb/unittests/Breakpoint/CMakeLists.txt
+++ b/lldb/unittests/Breakpoint/CMakeLists.txt
@@ -5,7 +5,6 @@ add_lldb_unittest(LLDBBreakpointTests
LINK_COMPONENTS
Support
LINK_LIBS
- liblldb
lldbBreakpoint
lldbCore
LLVMTestingSupport
More information about the lldb-commits
mailing list