mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 15:41:35 +08:00
"size_t" isn't always 64 bit, it is 32 bit on 32 bit systems. All printf style statements that were assuming size_t were 64 bit were changed, and they were also changed to display them as unsigned values as "size_t" isn't signed.
If you print anything with 'size_t', please cast it to "uint64_t" in the printf and use PRIu64 or PRIx64. llvm-svn: 202738
This commit is contained in:
@@ -2959,7 +2959,10 @@ Debugger::HandleProcessEvent (const EventSP &event_sp)
|
||||
if (output_stream.GetSize() || error_stream.GetSize())
|
||||
{
|
||||
StreamFileSP error_stream_sp (GetOutputFile());
|
||||
bool top_io_handler_hid = HideTopIOHandler();
|
||||
bool top_io_handler_hid = false;
|
||||
|
||||
if (process_sp->ProcessIOHandlerIsActive() == false)
|
||||
top_io_handler_hid = HideTopIOHandler();
|
||||
|
||||
if (output_stream.GetSize())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user