[lldb-dev] Prebuilt binary for Windows
Vadim Chugunov via lldb-dev
lldb-dev at lists.llvm.org
Wed Jan 11 15:45:53 PST 2017
Okay, as far as I can see, the issue is not with Python, but that lldb.exe
and liblldb.dll have their own private copies of the CRT.
When startup script is given on the command line, lldb.exe creates a pipe,
writes the script into the write end, wraps a stdio file around the read
end, and gives the resulting FILE* to SBDebugger::SetInputFileHandle().
Unfortunately, since SBDebugger lives in liblldb.dll, with its own copy of
the CRT, that handle is not valid there. Later, it tries to read from that
handle, and... boom.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170111/b1358b3a/attachment.html>
More information about the lldb-dev
mailing list