arm: Fix ttype encoding assertion failure.
authorLogan Chien <tzuhsiang.chien@gmail.com>
Sun, 13 Nov 2016 14:44:41 +0000 (14:44 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Sun, 13 Nov 2016 14:44:41 +0000 (14:44 +0000)
commit22012a59732547d8b00578378b05a2b12e3fefbc
treed4a7d9e4f0c3267412921751d1bc0f9f08adfde9
parent71cdd30e70534e21a3f352a57e79d5a1d5fbf76b
arm: Fix ttype encoding assertion failure.

GCC 4.7 or newer emits 0x90 (indirect | pcrel) as the ttype encoding.
This would hit an assertion in cxa_personality.cpp.  This commit fixes
the problem by relaxing the assertion.

llvm-svn: 286760
libcxxabi/src/cxa_personality.cpp
libcxxabi/test/lit.cfg
libcxxabi/test/lit.site.cfg.in
libcxxabi/test/native/arm-linux-eabi/lit.local.cfg [new file with mode: 0644]
libcxxabi/test/native/arm-linux-eabi/ttype-encoding-00.pass.sh.s [new file with mode: 0644]
libcxxabi/test/native/arm-linux-eabi/ttype-encoding-90.pass.sh.s [new file with mode: 0644]