Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Try running lldb_batchmode.py with PYTHONUNBUFFERED - #78667

Merged
bors merged 1 commit into
rust-lang:masterfrom
emilyalbini:lldb-unbuffered
Nov 2, 2020
Merged

bors merged 1 commit into
rust-lang:masterfrom
emilyalbini:lldb-unbuffered

Conversation

@emilyalbini

Copy link
Copy Markdown
Member

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.

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 rust-lang#78665.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @Mark-Simulacrum

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 2, 2020
@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors r+ p=1

Seems harmless at worst :)

@bors

bors commented Nov 2, 2020

Copy link
Copy Markdown
Contributor

📌 Commit 0af9f7e has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 2, 2020
@bors

bors commented Nov 2, 2020

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0af9f7e with merge 499ebcf...

@bors

bors commented Nov 2, 2020

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-actions
Approved by: Mark-Simulacrum
Pushing 499ebcf to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 2, 2020
@bors
bors merged commit 499ebcf into rust-lang:master Nov 2, 2020
@rustbot rustbot added this to the 1.49.0 milestone Nov 2, 2020
@emilyalbini
emilyalbini deleted the lldb-unbuffered branch November 2, 2020 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants