EasyManua.ls Logo

ARM DS-5 - Recommended Compiler Options

Default Icon
123 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Setting Up Your Target
ARM DUI 0482K Copyright © 2010-2012 ARM. All rights reserved. 2-10
ID120712 Non-Confidential
2.3 Recommended compiler options
When building executables for profiling using Streamline, it is best practice to use the following
compiler options:
-g
Turns on the debug symbols necessary for quality Analysis Reports. Compile
using this option to create the elf files for your host. use the Capture options
dialog box to point Streamline to these elf files. For more information, see
Capture options on page 4-3.
-fno-inline
Disables inlining. This compiler setting substantially improves the call path
quality.
-fno-omit-frame-pointer
Compiles your EABI images and libraries with frame pointers. This enables
Streamline to record the call stack with each sample taken.
-marm
This option is required if you compile your code with the
--with-mode=thumb
option enabled. Using the
--with-mode=thumb
option without
-marm
breaks call
stack unwinding in Streamline.
Note
Streamline does not support Thumb or output from
armcc
.
2.3.1 See also
Tasks
Setting up an Android target on page 2-6.
Reference
Target connection issues on page 14-2
Capture options on page 4-3.

Table of Contents

Related product manuals