You copied the Doc URL to your clipboard.

-S

Outputs the disassembly of the machine code that the compiler generates.

Object modules are not generated. The name of the assembly output file defaults to filename.s in the current directory. filename is the name of the source file with any leading directory names removed. 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 because this option generates files containing bitcode. The -flto option is enabled by default at -Omax.
Was this page helpful? Yes No