28.01.2015 Views

Exception Handling ABI for the ARM Architecture

Exception Handling ABI for the ARM Architecture

Exception Handling ABI for the ARM Architecture

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Exception</strong> handling <strong>ABI</strong> <strong>for</strong> <strong>the</strong> <strong>ARM</strong> architecture<br />

9.3 Frame unwinding instructions 40<br />

9.4 Interpreting <strong>the</strong> tables 42<br />

9.5 Implications <strong>for</strong> implementations 43<br />

10 IMPLEMENTATION DETAILS 44<br />

10.1 Thread safety 44<br />

10.2 Stack unwinding 44<br />

11 APPENDIX A – C++ UNCAUGHT EXCEPTION SEMANTICS 45<br />

12 APPENDIX B: EXAMPLE C++ LANGUAGE IMPLEMENTATION 48<br />

12.1 <strong>Exception</strong> Control Object 48<br />

12.2 Per-thread global memory 48<br />

13 APPENDIX C: UNWINDING INSTRUCTION ENCODING COSTS 50<br />

<strong>ARM</strong> IHI 0038A Copyright © 2002-2005, 2007 <strong>ARM</strong> Limited. All rights reserved. Page 4 of 50

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!