https://github.com/bulbazord created 
https://github.com/llvm/llvm-project/pull/174658

lldb-dotest was likely getting LLDB_FRAMEWORK_DIR from another place before. 
Now it's undefined when lldb-dotest is configured, so it's an empty string. 
Some API tests will fail to link against LLDB.

>From 0342a42a8a66a6f0bc18876398f3364ca264261e Mon Sep 17 00:00:00 2001
From: Alex Langford <[email protected]>
Date: Tue, 6 Jan 2026 13:52:41 -0800
Subject: [PATCH] [lldb] Repair lldb-dotest's framework path

lldb-dotest was likely getting LLDB_FRAMEWORK_DIR from another place
before. Now it's undefined when lldb-dotest is configured, so it's an
empty string. Some API tests will fail to link against LLDB.
---
 lldb/utils/lldb-dotest/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lldb/utils/lldb-dotest/CMakeLists.txt 
b/lldb/utils/lldb-dotest/CMakeLists.txt
index f3f75015637f4..c6077fad3b918 100644
--- a/lldb/utils/lldb-dotest/CMakeLists.txt
+++ b/lldb/utils/lldb-dotest/CMakeLists.txt
@@ -30,6 +30,7 @@ if ("libcxx" IN_LIST LLVM_ENABLE_RUNTIMES)
 endif()
 
 set(LLVM_TOOLS_DIR "${LLVM_TOOLS_BINARY_DIR}")
+set(LLDB_FRAMEWORK_DIR "${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}/LLDB.framework")
 set(vars
   LLDB_TEST_COMMON_ARGS
   LLDB_TEST_USER_ARGS

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to