eliminate some printouts from IRGen in favor of real diagnostics.

Swift SVN r777
This commit is contained in:
Chris Lattner
2011-10-22 00:32:14 +00:00
parent 51680e3fdc
commit 5e8370dea0
2 changed files with 16 additions and 11 deletions

View File

@@ -448,6 +448,13 @@ ERROR(expression_unresolved_function,sema_tcs,none,
// IR Generation Diagnostics
//==============================================================================
ERROR(no_llvm_target,irgen,none,
"error loading LLVM target for triple '%0': %1", (StringRef, StringRef))
ERROR(error_opening_output,irgen,none,
"error opening '%0' for output: %1", (StringRef, StringRef))
ERROR(error_codegen_init_fail,irgen,none,
"cannot initialize code generation passes for target", ())
ERROR(irgen_unimplemented,irgen,none,
"unimplemented IR generation feature %0", (StringRef))