[Lldb-commits] [lldb] [LLDB] Link TestingSupport to liblldb (PR #185866)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 11 05:07:21 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Nerixyz (Nerixyz)
<details>
<summary>Changes</summary>
Since #<!-- -->184656, `TestingSupport` uses some SB API components like `SBDebugger`. This caused linker errors in the utility test on Windows (e.g. https://lab.llvm.org/buildbot/#/builders/211/builds/6881).
This adds `liblldb` to `LINK_LIBS`.
---
Full diff: https://github.com/llvm/llvm-project/pull/185866.diff
1 Files Affected:
- (modified) lldb/unittests/TestingSupport/CMakeLists.txt (+1)
``````````diff
diff --git a/lldb/unittests/TestingSupport/CMakeLists.txt b/lldb/unittests/TestingSupport/CMakeLists.txt
index b9affcf41217f..9d5d88ab47fa1 100644
--- a/lldb/unittests/TestingSupport/CMakeLists.txt
+++ b/lldb/unittests/TestingSupport/CMakeLists.txt
@@ -7,6 +7,7 @@ add_lldb_library(lldbUtilityHelpers
Support
ObjectYAML
LINK_LIBS
+ liblldb
lldbUtility
llvm_gtest
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/185866
More information about the lldb-commits
mailing list