You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like when lldb initializes the default OutputFileHandle and ErrorFileHandle on a new debugger instance it is not setting the handles as writable (mode='w').
Here is a simple python script using the lldb module to illustrate this:
It looks like when lldb initializes the default OutputFileHandle and ErrorFileHandle on a new debugger instance it is not setting the handles as writable (mode='w').
Here is a simple python script using the lldb module to illustrate this:
It looks like when lldb initializes the default OutputFileHandle and ErrorFileHandle on a new debugger instance it is not setting the handles as writable (mode='w').
Here is a simple python script using the lldb module to illustrate this:
I think this is happening because:
FILE*
llvm-project/lldb/source/Core/Debugger.cpp
Line 878 in ba704d5
StreamFile
constructor https://github.com/llvm/llvm-project/blob/ba704d59569151f1b8b6552ed22a7b840f5e6256/lldb/include/lldb/Host/StreamFile.h#L31C3-L31C13NativeFile
llvm-project/lldb/source/Host/common/StreamFile.cpp
Line 30 in ba704d5
options()
llvm-project/lldb/include/lldb/Host/File.h
Line 384 in ba704d5
'r'
mode by defaultllvm-project/lldb/include/lldb/Host/File.h
Line 51 in ba704d5
However, stdout and stderr should be set to
mode='w'
by default.The text was updated successfully, but these errors were encountered: