[PATCH] ARM IAS: support .personalityindex
Logan Chien
tzuhsiang.chien at gmail.com
Tue Jan 14 06:38:05 PST 2014
================
Comment at: lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp:199
@@ +198,3 @@
+ if (PersonalityIndex == ARM::EHABI::NUM_PERSONALITY_INDEX)
+ PersonalityIndex = Ops.size() <= 3 ? ARM::EHABI::AEABI_UNWIND_CPP_PR0
+ : ARM::EHABI::AEABI_UNWIND_CPP_PR1;
----------------
Renato Golin wrote:
> Renato Golin wrote:
> > use of parenthesis here would be clearer.
> Here, too, the use of ARM::AEABI::NUM_PERSONALITY_INDEX.
The "3" in this line stands for the maximum unwind opcode that can be stored in compact mode pr0. Currently, there is no named constant for this.
http://llvm-reviews.chandlerc.com/D2525
More information about the llvm-commits
mailing list