[PATCH] Flush output streams upon process termination

Reid Kleckner rnk at google.com
Wed Jun 4 14:58:10 PDT 2014


That's interesting.  I think we avoid this problem for most of our binaries
because they use llvm::raw_ostream.  It looks like this is only a problem
for C code that has to use C stdio.  I think we never write to C stdio from
other atexit handlers, so I think this should work fine.

I also wonder if this was the true cause of http://llvm.org/PR19744.

http://reviews.llvm.org/D4021






More information about the cfe-commits mailing list