]> granicus.if.org Git - llvm/commit
[raw_fd_ostream] report actual error in error messages
authorBob Haarman <llvm@inglorion.net>
Tue, 24 Oct 2017 01:26:22 +0000 (01:26 +0000)
committerBob Haarman <llvm@inglorion.net>
Tue, 24 Oct 2017 01:26:22 +0000 (01:26 +0000)
commit0ab591a231517adb5befaac5d6a8f3817ca12527
treecc8f8e3f420cb8dd8d2737b32b201fe7c6bb9c7b
parentcd872ebe94f93d2e4e6893d65d3347f5efeee5c6
[raw_fd_ostream] report actual error in error messages

Summary:
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".

Reviewers: sunfish, rnk

Reviewed By: rnk

Subscribers: mehdi_amini, llvm-commits, hiraditya

Differential Revision: https://reviews.llvm.org/D39203

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316404 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/LockFileManager.h
include/llvm/Support/raw_ostream.h
lib/IR/Core.cpp
lib/LTO/LTOCodeGenerator.cpp
lib/Support/LockFileManager.cpp
lib/Support/raw_ostream.cpp