| |||
| Home > fromelf command reference > --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, or --text
-c.
Use this option with --source_directory if
you want to specify additional paths to search for source code.
--interleave=option
Where can
be one of the following:option
line_directivesinterleaves #line directives
containing filenames and line numbers of the disassembled instructions.
line_numbersinterleaves comments containing filenames and line numbers of the disassembled instructions.
noneinterleaving
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.
sourceinterleaves
comments containing source code. If the source code is no longer available
then fromelf interleaves in the same way as line_numbers.
source_onlyinterleaves comments containing source code. If the source code is no longer available then fromelf does not interleave that code.