Make the cwriter use the lowerinvoke pass so that it can either use "disabled excepti...
authorChris Lattner <sabre@nondot.org>
Fri, 13 Feb 2004 23:00:29 +0000 (23:00 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Feb 2004 23:00:29 +0000 (23:00 +0000)
commit94f4f8ea10b9a6eb87f27e8bed205b2f8feac3ae
tree34a31c1441712e492420b63ffe38157e688d11d4
parent6f3ff3e34d7087e3cb084ba4675386002a807ccd
Make the cwriter use the lowerinvoke pass so that it can either use "disabled exceptions" or
"expensive exceptions" controlled by an option.  Also refactor and eliminate a bunch of cruft.
This is a temporary solution and causes millions of warnings to pour out of programs that use
exceptions, but it should fix the problem with sparc and the 'write' declaration (PR190).
Subsequent changes will make this stink much less

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11405 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/CBackend/CBackend.cpp
lib/Target/CBackend/Writer.cpp