04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Compiler Command-line Options<br />

The compiler returns the same totals that fromelf returns when fromelf -z is used, in a<br />

similar format. The totals include embedded assembler sizes when embedded assembly<br />

exists in the source code.<br />

Example<br />

Code (inc. data) RO Data RW Data ZI Data Debug File Name<br />

3308 1556 0 44 10200 8402 dhry_1.o<br />

Code (inc. data) RO Data RW Data ZI Data Debug File Name<br />

416 28 0 0 0 7722 dhry_2.o<br />

The (inc. data) column gives the size of constants, string literals, and other data items<br />

used as part of the code. The Code column, shown in the example, includes this value.<br />

See also<br />

• --list on page 2-82<br />

• --info=topic[,topic,...] on page 2-44 in the Linker Reference Guide<br />

• Code metrics on page 5-10 in the Compiler User Guide<br />

• Using command-line options on page 2-7 in the Utilities Guide.<br />

2.1.92 --inline, --no_inline<br />

This option enables or disables the inlining of functions. Disabling the inlining of<br />

functions can help to improve the debug illusion.<br />

When the option --inline is selected, the compiler considers inlining each function.<br />

Compiling your code with --inline does not guarantee that all functions are inlined. See<br />

When is it practical for the compiler to inline on page 5-19 in the Compiler User Guide<br />

for more information about how the compiler decides to inline functions.<br />

When the option --no_inline is selected, the compiler does not attempt to inline<br />

functions, other than functions qualified with __forceinline.<br />

Default<br />

The default is --inline.<br />

See also<br />

• --autoinline, --no_autoinline on page 2-17<br />

• --forceinline on page 2-58<br />

• -Onum on page 2-96<br />

• -Ospace on page 2-99<br />

• -Otime on page 2-99<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 2-75<br />

ID101213<br />

Non-Confidential,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!