Dwarf EH prepare needs to be run after SjLj prepare. Otherwise,
authorJim Grosbach <grosbach@apple.com>
Thu, 14 Jan 2010 21:22:16 +0000 (21:22 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 14 Jan 2010 21:22:16 +0000 (21:22 +0000)
commit9f82da7cbfe0c9f1b2c4bc7d7a9a9b5d35bea488
tree8d3f15315f8a82817009fcb8cb0c5509d90299b5
parent7659389d0d4d315d30877592221da6a6f663114a
Dwarf EH prepare needs to be run after SjLj prepare. Otherwise,
catch info can get misplaced when a selector ends up more than one block
removed from the parent invoke(s). This could happen when a landing pad is
shared by multiple invokes and is also a target of a normal edge from
elsewhere.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93456 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LLVMTargetMachine.cpp