report_fatal_error can't use errs(), because errs() can call
authorChris Lattner <sabre@nondot.org>
Tue, 17 Aug 2010 23:03:53 +0000 (23:03 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Aug 2010 23:03:53 +0000 (23:03 +0000)
commit73ebaff79f2a26d76cccd37d176f05f32b09ad2e
treedf85c468cec6ed9851e19b6467dafa009f2467c4
parent68c23f861694f7b06df2ce39ced01d1d39fc5809
report_fatal_error can't use errs(), because errs() can call
into report_fatal_error.  Just blast the string to stderr with write(2)
and hope for the best!  Part of rdar://8318441

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111320 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/ErrorHandling.cpp