about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-02 13:07:01 +0000
committerbors <bors@rust-lang.org>2020-11-02 13:07:01 +0000
commit499ebcfdf3b09a646154f321b7c28f5105e4dbf7 (patch)
treec0032917dcdace687e8949d290d6aa40fadee8cb /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent4051473c8b5158984a5253d1b5faad6a94de7682 (diff)
parent0af9f7edb74639b9cf0eed8bd1d2e5b80880fd9a (diff)
downloadrust-499ebcfdf3b09a646154f321b7c28f5105e4dbf7.tar.gz
rust-499ebcfdf3b09a646154f321b7c28f5105e4dbf7.zip
Auto merge of #78667 - pietroalbini:lldb-unbuffered, r=Mark-Simulacrum
Try running lldb_batchmode.py with PYTHONUNBUFFERED

When reporting fatal errors, LLVM calls abort() to exit the program. There is a chance that might interfere with Python printing stuff to stdout, as by default it relies on buffering to increase performance.

This commit tries to disable Python buffering, to hopefully get useful logs while debugging #78665.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions