1.62 -S

Outputs the disassembly of the machine code generated by the compiler.

Object modules are not generated. The name of the assembly output file defaults to filename.s in the current directory, where filename is the name of the source file stripped of any leading directory names. The default filename can be overridden with the -o option.

Note:

It is not possible to output meaningful disassembly when the -flto option is enabled, which is turned on by default at -Omax, because this generates files containing bitcode.
Non-ConfidentialPDF file icon PDF versionDUI0774J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.