[Lldb-commits] [lldb] [LLDB] Link TestingSupport to liblldb (PR #185866)

via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 11 05:06:45 PDT 2026


https://github.com/Nerixyz created https://github.com/llvm/llvm-project/pull/185866

Since #184656, `TestingSupport` uses some SB API components like `SBDebugger`. This caused linker errors on Windows (e.g. https://lab.llvm.org/buildbot/#/builders/211/builds/6881).

This adds `liblldb` to `LINK_LIBS`.

>From 3f81daa6097696c763745ddf707318ebcc356f10 Mon Sep 17 00:00:00 2001
From: Nerixyz <nerixdev at outlook.de>
Date: Wed, 11 Mar 2026 12:59:29 +0100
Subject: [PATCH] [LLDB] Link TestingSupport to liblldb

---
 lldb/unittests/TestingSupport/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

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
   )



More information about the lldb-commits mailing list