diff options
| author | Chelsea Cassanova <chelsea_cassanova@apple.com> | 2025-06-26 10:45:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 10:45:11 -0700 |
| commit | e880cf74217d8b925f923185994dc8fe6f69a551 (patch) | |
| tree | ae94047401ce67c25e86003e1e34004c437c7d3b /lldb/source/Target/Target.cpp | |
| parent | 4c8fab399b2ebf37f6a560bc2d5c6b4f0045a19f (diff) | |
Reland "[lldb][target] Add progress report for wait-attaching to proc… (#145111)
…ess" (#144810)
This relands commit e0933ab5ae4856c4aa188a5ea16716b3a8d0840b. The
original commit was causing the test TestCreateAfterAttach.py to fail on
ARM Ubuntu bots. It's possible that this could've been happening because
the test for wait-attach progress reporting is waiting on a process
named "a.out" which could be too generic as multiple other tests (when
run in parallel on the bots) could also be using processes named
"a.out". This commit changes the wait-attach progress report test to
wait on a unique process name.
Original PR description:
This commit adds a progress report when wait-attaching to a process as
well as a test for this.
Original PR link: https://github.com/llvm/llvm-project/pull/144768
Diffstat (limited to 'lldb/source/Target/Target.cpp')
| -rw-r--r-- | lldb/source/Target/Target.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index 45a9e1196a04..8f8d2ef21cc5 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -3546,6 +3546,7 @@ llvm::Expected<TraceSP> Target::GetTraceOrCreate() { } Status Target::Attach(ProcessAttachInfo &attach_info, Stream *stream) { + Progress attach_progress("Waiting to attach to process"); m_stats.SetLaunchOrAttachTime(); auto state = eStateInvalid; auto process_sp = GetProcessSP(); |
