Emit exception handling info for functions which are
authorDale Johannesen <dalej@apple.com>
Mon, 31 Mar 2008 23:40:23 +0000 (23:40 +0000)
committerDale Johannesen <dalej@apple.com>
Mon, 31 Mar 2008 23:40:23 +0000 (23:40 +0000)
commit1544e4713be68edcf042de5aed7265dff7169d9d
tree21bb1802da1e2ff5e6c426b200ee4f75f87cb0c0
parent1d3863fdbcc37f98d72408b59f6aef3243f36d7f
Emit exception handling info for functions which are
not marked nounwind, or for all functions when -enable-eh
is set, provided the target supports Dwarf EH.

llvm-gcc generates nounwind in the right places; other FEs
will need to do so also.  Given such a FE, -enable-eh should
no longer be needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49006 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/DwarfWriter.cpp
lib/CodeGen/LLVMTargetMachine.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/PowerPC/PPCRegisterInfo.cpp
lib/Target/X86/X86AsmPrinter.cpp
lib/Target/X86/X86RegisterInfo.cpp
lib/Transforms/Utils/LowerInvoke.cpp