[Lldb-commits] [lldb] [lldb][target] Add progress report for wait-attaching to process (PR #144768)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 18 10:58:21 PDT 2025


================
@@ -3546,6 +3546,8 @@ llvm::Expected<TraceSP> Target::GetTraceOrCreate() {
 }
 
 Status Target::Attach(ProcessAttachInfo &attach_info, Stream *stream) {
+  std::unique_ptr<Progress> attach_progress;
+  attach_progress = std::make_unique<Progress>("Waiting to attach to process");
----------------
medismailben wrote:

This could just be a local variable, no need to make it a unique per

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


More information about the lldb-commits mailing list