Fix really stupid ARM EHABI info generation bug: we should not emit
authorAnton Korobeynikov <asl@math.spbu.ru>
Wed, 14 Nov 2012 19:13:30 +0000 (19:13 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Wed, 14 Nov 2012 19:13:30 +0000 (19:13 +0000)
commit062a6c8380efc74233d05ec895def51b01aa2f8f
tree2a67b36775107d753929d31cece6ca7d33c39219
parent2d80fb22b709fc2bea724a63920a0fe10db3c883
Fix really stupid ARM EHABI info generation bug: we should not emit
eh table and handler data if there are no landing pads in the function.
Patch by Logan Chien with some cleanups from me.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167945 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/ARMException.cpp
test/CodeGen/ARM/ehabi-no-landingpad.ll [new file with mode: 0644]