| |||
| Home > Writing ARM and Thumb Assembly Language > 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.
Refer to Frame description directives for details of these directives.
The assembler uses these directives to insert DWARF2 debug frame information into the object file in ELF format that it produces. This information is required by the debuggers for stack unwinding and for profiling.
Frame directives do not affect the code produced by armasm.