[Lldb-commits] [lldb] d1c563b - [lldb] Don't link TestingSupport as a component (#184310)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 3 02:32:32 PST 2026
Author: Nikita Popov
Date: 2026-03-03T11:32:26+01:00
New Revision: d1c563beee794b3a967786fd07c437ffc66fb7f0
URL: https://github.com/llvm/llvm-project/commit/d1c563beee794b3a967786fd07c437ffc66fb7f0
DIFF: https://github.com/llvm/llvm-project/commit/d1c563beee794b3a967786fd07c437ffc66fb7f0.diff
LOG: [lldb] Don't link TestingSupport as a component (#184310)
This doesn't work with dylib builds, because TestingSupport is not part
of the dylib. Instead, we should link it via LINK_LIBS, like other tests
already do.
Added:
Modified:
lldb/unittests/Target/CMakeLists.txt
Removed:
################################################################################
diff --git a/lldb/unittests/Target/CMakeLists.txt b/lldb/unittests/Target/CMakeLists.txt
index 47df8c600ca19..bf08a8f015ba0 100644
--- a/lldb/unittests/Target/CMakeLists.txt
+++ b/lldb/unittests/Target/CMakeLists.txt
@@ -18,7 +18,6 @@ add_lldb_unittest(TargetTests
LINK_COMPONENTS
Support
- TestingSupport
LINK_LIBS
lldbCore
lldbHost
@@ -33,6 +32,7 @@ add_lldb_unittest(TargetTests
lldbSymbol
lldbUtility
lldbUtilityHelpers
+ LLVMTestingSupport
)
set(test_inputs
More information about the lldb-commits
mailing list