diff options
author | Anders Waldenborg <anders@0x63.nu> | 2013-10-17 10:39:35 +0000 |
---|---|---|
committer | Anders Waldenborg <anders@0x63.nu> | 2013-10-17 10:39:35 +0000 |
commit | 39f5d7d5f09ed2c6f362ed484110ac3deb2a400d (patch) | |
tree | d5b3830e7d03f4f411e1a443e71c8fe9633ceaa1 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 199b731b42e224ca39e5915c818a8fa7f67fbe33 (diff) | |
download | bcm5719-llvm-39f5d7d5f09ed2c6f362ed484110ac3deb2a400d.tar.gz bcm5719-llvm-39f5d7d5f09ed2c6f362ed484110ac3deb2a400d.zip |
llvm-c: Don't assert in LLVMTargetMachineEmitToFile on nonexistent file
Error handling code for raw_fd_ostream constructor is present, but
never used, because formatted_raw_ostream will always assert on closed
fd's before.
Patch by Peter Zotov
Differential Revision: http://llvm-reviews.chandlerc.com/D1909
llvm-svn: 192881
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions