Move the sjlj exception handling conversions to a back-end pass where they
authorJim Grosbach <grosbach@apple.com>
Mon, 17 Aug 2009 16:41:22 +0000 (16:41 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 17 Aug 2009 16:41:22 +0000 (16:41 +0000)
commit8b818d7e98309125c6058c4ea72a7dc73b031db2
treeb1fdcb9eeb803162a4a2876f6ac49a5bb3f63ad7
parent2a5e23b44ddf1efde1d98bd3379489d93a90d55a
Move the sjlj exception handling conversions to a back-end pass where they
more properly belong. This allows removing the front-end conditionalized
SJLJ code, and cleans up the generated IR considerably. All of the
infrastructure code (calling _Unwind_SjLj_Register/Unregister, etc) is
added by the SjLjEHPrepare pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79250 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Passes.h
lib/CodeGen/AsmPrinter/DwarfException.cpp
lib/CodeGen/AsmPrinter/DwarfException.h
lib/CodeGen/LLVMTargetMachine.cpp
lib/CodeGen/SjLjEHPrepare.cpp [new file with mode: 0644]