[PATCH] D39203: [raw_fd_ostream] report actual error in error messages

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 12:45:46 PDT 2017


inglorion created this revision.
Herald added subscribers: hiraditya, mehdi_amini.

Previously, we would emit error messages like "IO failure on output
stream". This change causes use to include information about what
actually went wrong, e.g. "No space left on device".


https://reviews.llvm.org/D39203

Files:
  llvm/include/llvm/Support/LockFileManager.h
  llvm/include/llvm/Support/raw_ostream.h
  llvm/lib/IR/Core.cpp
  llvm/lib/LTO/LTOCodeGenerator.cpp
  llvm/lib/Support/LockFileManager.cpp
  llvm/lib/Support/raw_ostream.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39203.119924.patch
Type: text/x-patch
Size: 6605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171023/f41262db/attachment.bin>


More information about the llvm-commits mailing list