Keil™, An ARM® Company

RealView Assembler User's Guide

Using frame directives

2.9. Using frame directives

You must use frame directives to describe the way that your code uses the stack if you want to be able to do either of the following:

  • debug your application using stack unwinding

  • use either flat or call‑graph profiling.

See Frame directives for details of these directives.

The assembler uses frame directives to insert DWARF debug frame information into the object file that it produces. This information is required by a debugger for stack unwinding and for profiling. See the Procedure Call Standard for the ARM Architecture specification, aapcs.pdf, on the ARM website for more information about stack checking qualifiers.

Be aware of the following:

  • Frame directives do not affect the code produced by the assembler.

  • The assembler does not validate the information in frame directives against the instructions emitted.

Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0379A