diff options
author | Chris Lattner <sabre@nondot.org> | 2011-02-09 16:46:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-02-09 16:46:02 +0000 |
commit | b692bed732d88989cabb6690c8014d59ce67d8ac (patch) | |
tree | 26682e71ce86d61496cdaad01176c82e5d89d0ae /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f10dfdc77a02fea77ea2fd8d34cd32218c1737c1 (diff) | |
download | bcm5719-llvm-b692bed732d88989cabb6690c8014d59ce67d8ac.tar.gz bcm5719-llvm-b692bed732d88989cabb6690c8014d59ce67d8ac.zip |
emit a specific error when the input file is empty. This fixes
an annoyance of mine when working on tests: if the input .ll file
is broken, opt outputs an error and generates an empty file. FileCheck
then emits its "ooh I couldn't find the first CHECK line, scanning
from ..." which obfuscates the actual problem.
llvm-svn: 125193
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions