[PATCH] D147632: [libunwind] Fflush stderr after each log message

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 00:58:27 PDT 2023


mstorsjo added a comment.

In D147632#4247202 <https://reviews.llvm.org/D147632#4247202>, @compnerd wrote:

> If you're enabling libunwinding logging, you are already in a bad place.  The additional flush isn't going to hurt you any further.

Yep, and stderr is normally line buffered anyway so there shouldn't really be any difference for other users anyway.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147632/new/

https://reviews.llvm.org/D147632



More information about the llvm-commits mailing list