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.
The assembler uses frame directives to insert DWARF debug
frame information into the object file in ELF format that it produces.
This information is required by a debugger for stack unwinding and
for profiling.
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.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.