https://github.com/da-viper updated 
https://github.com/llvm/llvm-project/pull/163383

>From 62b52e5a5c26d957b7d511cb98cd9193ede412f5 Mon Sep 17 00:00:00 2001
From: Ebuka Ezike <[email protected]>
Date: Tue, 14 Oct 2025 11:58:37 +0100
Subject: [PATCH 1/2] [lldb-dap][test] create temp source file in test
 directory.

---
 .../TestDAP_stackTraceDisassemblyDisplay.py                    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py
 
b/lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py
index 08c225b3cada4..4be672a8d64aa 100644
--- 
a/lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py
+++ 
b/lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py
@@ -29,7 +29,7 @@ def build_and_run_until_breakpoint(self):
         """
         Build the program and run until the breakpoint is hit, and return the 
stack frames.
         """
-        other_source_file = "other.c"
+        other_source_file = os.path.join(self.getBuildDir(), "other.c")
         with delete_file_on_exit(other_source_file):
             with open(other_source_file, "w") as f:
                 f.write(OTHER_C_SOURCE_CODE)
@@ -169,3 +169,4 @@ def test_stopDisassemblyDisplay(self):
         self.verify_frames_source(
             frames, main_frame_assembly=False, other_frame_assembly=False
         )
+        self.continue_to_exit()

>From 2eeccaee076ce9049e3747c019337e8d58215334 Mon Sep 17 00:00:00 2001
From: Ebuka Ezike <[email protected]>
Date: Tue, 14 Oct 2025 18:39:08 +0100
Subject: [PATCH 2/2] Update
 
lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py

Co-authored-by: Jonas Devlieghere <[email protected]>
---
 .../TestDAP_stackTraceDisassemblyDisplay.py                     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py
 
b/lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py
index 4be672a8d64aa..6008a0cb02372 100644
--- 
a/lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py
+++ 
b/lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py
@@ -29,7 +29,7 @@ def build_and_run_until_breakpoint(self):
         """
         Build the program and run until the breakpoint is hit, and return the 
stack frames.
         """
-        other_source_file = os.path.join(self.getBuildDir(), "other.c")
+        other_source_file = self.getBuildArtifact("other.c")
         with delete_file_on_exit(other_source_file):
             with open(other_source_file, "w") as f:
                 f.write(OTHER_C_SOURCE_CODE)

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

Reply via email to