11 using frame directives, Using frame directives -66 – ARM VERSION 1.2 User Manual

Page 78

Advertising
background image

Writing ARM and Thumb Assembly Language

2-66

Copyright © 2000, 2001 ARM Limited. All rights reserved.

ARM DUI 0068B

2.11

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 on page 7-33 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. Refer to the Using the Procedure Call
Standard
chapter in ADS Developer Guide for further information about stack
unwinding.

Frame directives do not affect the code produced by

armasm

.

Advertising