[PATCH] ARM IAS: support .personalityindex

Renato Golin renato.golin at linaro.org
Tue Jan 14 06:44:58 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;
----------------
Logan Chien wrote:
> 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.
oh, my bad.


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



More information about the llvm-commits mailing list