--interleave=option

This option inserts the original source code as comments into the disassembly if debug information is present.

Use this option with --emit=code, --text -c, or --disassemble.

Use this option with --source_directory if you want to specify additional paths to search for source code.

Show/hideSyntax

--interleave=option

Where option can be one of the following:

line_directives

interleaves #line directives containing filenames and line numbers of the disassembled instructions.

line_numbers

interleaves comments containing filenames and line numbers of the disassembled instructions.

none

interleaving is disabled. This is useful if you have a generated makefile where the fromelf command has multiple options in addition to --interleave. You can then specify --interleave=none as the last option to ensure that interleaving is disabled without having to reproduce the complete fromelf command.

source

interleaves comments containing source code. If the source code is no longer available then fromelf interleaves in the same way as line_numbers.

source_only

interleaves comments containing source code. If the source code is no longer available then fromelf does not interleave that code.

Show/hideDefault

The default is --interleave=none.

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0477E
Non-ConfidentialID071611