[all-commits] [llvm/llvm-project] 9d311d: [lldb] Copy log files into diagnostic directory
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Tue Mar 7 16:00:43 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d311dd6a71ba3910554b81fec5e6d5799ce0453
https://github.com/llvm/llvm-project/commit/9d311dd6a71ba3910554b81fec5e6d5799ce0453
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M lldb/include/lldb/Core/Debugger.h
M lldb/source/Core/Debugger.cpp
A lldb/test/Shell/Diagnostics/Inputs/TestCopyLogs.in
A lldb/test/Shell/Diagnostics/TestCopyLogs.test
Log Message:
-----------
[lldb] Copy log files into diagnostic directory
This patch copies over log files to the diagnostic directory. The caveat
here is that this only works for logs that are redirected to a file. The
implementation piggybacks of the mapping kept by the debugger. The
advantage is that it's free until you generate the diagnostics, at which
point you only pay the price of copying over the file.
Differential revision: https://reviews.llvm.org/D135631
More information about the All-commits
mailing list