[PATCH] D24085: arm: Fix ttype encoding assertion failure.

Logan Chien via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 31 08:43:38 PDT 2016


logan created this revision.
logan added reviewers: mclow.lists, rengolin.
logan added a subscriber: cfe-commits.
Herald added subscribers: samparker, rengolin, aemerson.

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.

http://llvm.org/PR28884

https://reviews.llvm.org/D24085

Files:
  src/cxa_personality.cpp
  test/lit.cfg
  test/lit.site.cfg.in
  test/native/arm-linux-eabi/lit.local.cfg
  test/native/arm-linux-eabi/ttype-encoding-00.pass.sh.s
  test/native/arm-linux-eabi/ttype-encoding-90.pass.sh.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24085.69867.patch
Type: text/x-patch
Size: 9353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160831/a43a405e/attachment.bin>


More information about the cfe-commits mailing list