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

Create successful ePaper yourself

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

Compiler Command-line Options<br />

Usage<br />

Typically, raw listing information is used to generate a formatted listing. The raw listing<br />

file contains raw source lines, information on transitions into and out of include files,<br />

and diagnostics generated by the compiler. Each line of the listing file begins with any<br />

of the following key characters that identifies the type of line:<br />

N<br />

X<br />

S<br />

A normal line of source. The rest of the line is the text of the line of<br />

source.<br />

The expanded form of a normal line of source. The rest of the line is the<br />

text of the line. This line appears following the N line, and only if the line<br />

contains nontrivial modifications. Comments are considered trivial<br />

modifications, and macro expansions, line splices, and trigraphs are<br />

considered nontrivial modifications. Comments are replaced by a single<br />

space in the expanded-form line.<br />

A line of source skipped by an #if or similar. The rest of the line is text.<br />

Note<br />

The #else, #elseif, or #endif that ends a skip is marked with an N.<br />

L<br />

R/W/E<br />

Indicates a change in source position. That is, the line has a format similar<br />

to the # line-identifying directive output by the preprocessor:<br />

L line-number "filename" key<br />

where key can be:<br />

1 For entry into an include file.<br />

2 For exit from an include file.<br />

Otherwise, key is omitted. The first line in the raw listing file is always an<br />

L line identifying the primary input file. L lines are also output for #line<br />

directives where key is omitted. L lines indicate the source position of the<br />

following source line in the raw listing file.<br />

Indicates a diagnostic, where:<br />

R<br />

W<br />

Indicates a remark.<br />

Indicates a warning.<br />

E Indicates an error.<br />

The line has the form:<br />

type "filename" line-number column-number message-text<br />

where type can be R, W,or E.<br />

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

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!