Non-Confidential | ![]() | DUI0805J | ||
| ||||
Home > fromelf Command-line Options > --interleave=option |
Inserts the original source code as comments into the disassembly if debug information is present.
--interleave=option
Where
can be one of the following:option
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
Disables interleaving. 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.
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.
The default is --interleave=none
.