I'm using gcc -save-temps
to generate assembly and I added -fverbose-asm
but that option does NOT generate what I want; it's some weird debug-ish comments.
To get the assembly + inline source, I'm doing gcc -g
followed by objdump -S
.
Since -save-temps
generates the assembly anyway, is there a way to configure it to output the inline source that objdump -S
produces?