[PATCH] ARM IAS: support .personalityindex

Saleem Abdulrasool compnerd at compnerd.org
Wed Jan 8 23:48:21 PST 2014


Hi asl, logan, rengolin,

The .personalityindex directive is equivalent to the .personality directive with
the ARM EABI personality with the specific index (0, 1, 2).  Both of these
directives indicate personality routines, so enhance the personality directive
handling to take into account personalityindex.

Bonus fix: flush the UnwindContext at the beginning of a new function.

Thanks to Logan Chien for additional tests!

http://llvm-reviews.chandlerc.com/D2525

Files:
  include/llvm/MC/MCStreamer.h
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
  test/MC/ARM/eh-directive-personalityindex-diagnostics.s
  test/MC/ARM/eh-directive-personalityindex.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2525.1.patch
Type: text/x-patch
Size: 17339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140108/3cf9cabc/attachment.bin>


More information about the llvm-commits mailing list