PR4747
authorJim Grosbach <grosbach@apple.com>
Mon, 31 Aug 2009 01:35:03 +0000 (01:35 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 31 Aug 2009 01:35:03 +0000 (01:35 +0000)
commit0bb61c56bcad7a738d50f705b5966be446ef06c1
tree60a257049a2b00eaa38d7c414ecc4f2486173b4a
parent5e794d40b8fc112ca55dfb66fc2249c6bfaa75a9
PR4747

Shared landing pads run into trouble with SJLJ, as the dispatch table is
mapped to call sites, and merging the pads will throw that off. There needs
to be a one-to-one mapping of landing pad exception table entries to invoke
call points.

Detecting the shared pad during lowering of SJLJ info insn't sufficient, as
the dispatch function may still need separate destinations to properly
handle phi-nodes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80530 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfException.cpp
lib/CodeGen/SjLjEHPrepare.cpp