[Lldb-commits] [lldb] [lldb-dap][test] create temp source file in test directory. (PR #163383)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 14 10:35:13 PDT 2025


================
@@ -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")
----------------
JDevlieghere wrote:

Can we use `getBuildArtifact` here?
```suggestion
        other_source_file = self.getBuildArtifact("other.c")
```

https://github.com/llvm/llvm-project/pull/163383


More information about the lldb-commits mailing list