diff options
| author | Walter Erquinigo <wallace@fb.com> | 2022-04-05 11:21:22 -0700 |
|---|---|---|
| committer | Walter Erquinigo <wallace@fb.com> | 2022-04-05 11:54:03 -0700 |
| commit | 9bcaf6ddfe34943e6ae6a319097524c117908913 (patch) | |
| tree | 2ace73759fd9f057b5d9c1ab58ce708ceeb9add6 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 5561ab3495a42fddbc251bec6bef46a1cae9c559 (diff) | |
[lldb-vscode] Implement stderr/stdout on win32 and redirect lldb log to VSCode
This patch implements stderr/stdout forwarding on windows.
This was previously not implemented in D99974.
I added separate callbacks so the output can be sent to the different channels VSCode provides (OutputType::Stdout, OutputType::Stderr, OutputType::Console).
This patch also passes a log callback handler to SBDebugger::Create to be able to see logging output when it is enabled.
Since the output is now redirect on early startup I removed the calls to SetOutputFileHandle/SetErrorFileHandle, which set them to /dev/null.
I send the output of stderr/stdout/lldb log to OutputType::Console
Reviewed By: wallace
Differential Revision: https://reviews.llvm.org/D123025
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
