29.12.2014 Views

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Compiler</strong> Command-line Options<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-55<br />

• Code metrics on page 4-11 in the <strong>Compiler</strong> User <strong>Guide</strong><br />

• fromelf command syntax on page 8-3 in the Linker <strong>Guide</strong>.<br />

2.1.66 --[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 4-19 in the <strong>Compiler</strong> User <strong>Guide</strong><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 />

• --[no_]autoinline on page 2-9<br />

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

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

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

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

• __forceinline on page 4-6<br />

• __inline on page 4-9<br />

<strong>ARM</strong> DUI 0348A Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. 2-49<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!