[Lldb-commits] [lldb] [lldb][test] Wait for a file before attempting to attach to lldb-server test inferior (PR #162064)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 7 01:36:34 PDT 2025
================
@@ -444,13 +444,20 @@ def launch_process_for_attach(
if not exe_path:
exe_path = self.getBuildArtifact("a.out")
- args = []
+ # This file will be created once the inferior has enabled attaching.
+ sync_file_path = lldbutil.append_to_process_working_directory(
----------------
DavidSpickett wrote:
It definitely does get cleaned up, I confirmed by having the inferior not write the file on a subsequent run.
I expect it's done at a higher level when the test framework cleans the whole working dir.
https://github.com/llvm/llvm-project/pull/162064
More information about the lldb-commits
mailing list