[all-commits] [llvm/llvm-project] fe1874: [lldb/Interpreter] Add setting to set session tran...
Med Ismail Bennani via All-commits
all-commits at lists.llvm.org
Tue Jun 29 01:54:54 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe1874dd2dd99c9811db515a2957e2a42f9f6868
https://github.com/llvm/llvm-project/commit/fe1874dd2dd99c9811db515a2957e2a42f9f6868
Author: Med Ismail Bennani <medismail.bennani at gmail.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)
Changed paths:
M lldb/include/lldb/Interpreter/CommandInterpreter.h
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Interpreter/InterpreterProperties.td
M lldb/test/API/commands/session/save/TestSessionSave.py
Log Message:
-----------
[lldb/Interpreter] Add setting to set session transcript save directory
This patch introduces a new interpreter setting
`interpreter.save-session-directory` so the user can specify a directory
where the session transcripts will be saved.
If not set, the session transcript are saved on a temporary file.
rdar://72902842
Differential Revision: https://reviews.llvm.org/D105030
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
Commit: d6b64612bd92cda8b53ef348fb578983124c600f
https://github.com/llvm/llvm-project/commit/d6b64612bd92cda8b53ef348fb578983124c600f
Author: Med Ismail Bennani <medismail.bennani at gmail.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)
Changed paths:
M lldb/source/Commands/CommandObjectQuit.cpp
M lldb/source/Core/Debugger.cpp
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/test/API/commands/session/save/TestSessionSave.py
Log Message:
-----------
[lldb/Interpreter] Fix session-save-on-quit when using ^D
Previously, when `interpreter.save-session-on-quit` was enabled, lldb
would save the session transcript only when running the `quit` command.
This patch changes that so the transcripts are saved when the debugger
object is destroyed if the setting is enabled.
rdar://72902650
Differential Revision: https://reviews.llvm.org/D105038
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
Compare: https://github.com/llvm/llvm-project/compare/6178ddcd2b70...d6b64612bd92
More information about the All-commits
mailing list