You copied the Doc URL to your clipboard.


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.


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.