[Lldb-commits] [PATCH] D135631: [lldb] Copy log files into diagnostic directory

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 10 17:17:28 PST 2023


mib accepted this revision.
mib added a comment.
This revision is now accepted and ready to land.

LGTM!



================
Comment at: lldb/source/Core/Debugger.cpp:838
+            std::error_code ec =
+                llvm::sys::fs::copy_file(entry.first(), destination.GetPath());
+            if (ec)
----------------
re-use `log_path` for more clarity


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135631/new/

https://reviews.llvm.org/D135631



More information about the lldb-commits mailing list