[Lldb-commits] [lldb] [lldb] Synchronize the debugger's stdout and stderr streams (PR #126630)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 18 21:10:33 PST 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 8b284dc31070b9d1d99c593146da6248a5ca545d 4c7990f8e2424a6dbb9954df071f4fc91c93d067 --extensions cpp,h -- lldb/include/lldb/Core/Debugger.h lldb/include/lldb/Core/IOHandler.h lldb/include/lldb/Host/Editline.h lldb/include/lldb/Host/File.h lldb/include/lldb/Host/StreamFile.h lldb/include/lldb/Interpreter/ScriptInterpreter.h lldb/include/lldb/Target/ThreadPlanTracer.h lldb/include/lldb/lldb-forward.h lldb/source/API/SBDebugger.cpp lldb/source/Commands/CommandObjectBreakpointCommand.cpp lldb/source/Commands/CommandObjectCommands.cpp lldb/source/Commands/CommandObjectExpression.cpp lldb/source/Commands/CommandObjectGUI.cpp lldb/source/Commands/CommandObjectLog.cpp lldb/source/Commands/CommandObjectTarget.cpp lldb/source/Commands/CommandObjectType.cpp lldb/source/Commands/CommandObjectWatchpointCommand.cpp lldb/source/Core/Debugger.cpp lldb/source/Core/IOHandler.cpp lldb/source/Core/IOHandlerCursesGUI.cpp lldb/source/Expression/REPL.cpp lldb/source/Host/common/Editline.cpp lldb/source/Interpreter/CommandInterpreter.cpp lldb/source/Interpreter/ScriptInterpreter.cpp lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp lldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp lldb/source/Plugins/InstrumentationRuntime/Utility/ReportRetriever.cpp lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp lldb/source/Target/ThreadPlanTracer.cpp lldb/unittests/Editline/EditlineTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/include/lldb/Core/Debugger.h b/lldb/include/lldb/Core/Debugger.h
index bbb06cb9c5..9c8a9623fe 100644
--- a/lldb/include/lldb/Core/Debugger.h
+++ b/lldb/include/lldb/Core/Debugger.h
@@ -134,9 +134,13 @@ public:
lldb::FileSP GetInputFileSP() { return m_input_file_sp; }
File &GetInputFile() { return *m_input_file_sp; }
- lldb::FileSP GetOutputFileSP() { return m_output_stream_sp->GetUnlockedFileSP(); }
+ lldb::FileSP GetOutputFileSP() {
+ return m_output_stream_sp->GetUnlockedFileSP();
+ }
- lldb::FileSP GetErrorFileSP() { return m_error_stream_sp->GetUnlockedFileSP(); }
+ lldb::FileSP GetErrorFileSP() {
+ return m_error_stream_sp->GetUnlockedFileSP();
+ }
repro::DataRecorder *GetInputRecorder();
``````````
</details>
https://github.com/llvm/llvm-project/pull/126630
More information about the lldb-commits
mailing list