[PATCH] Replace PrintStackTrace(FILE*) with PrintStackTrace(raw_ostream&)

Reid Kleckner rnk at google.com
Thu Mar 5 10:54:42 PST 2015


There is a functional difference between raw_ostream and FILE*. raw_fd_ostreams have their own buffering that doesn't mesh well with the buffering done with the C stdio implementation. I think CIndex.cpp and all that code makes sure to print with C stdio. We should be able to resolve this pretty easily by creating a raw_file_ostream adapter class, though.


http://reviews.llvm.org/D8074

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list