Enhancement to dmd's -vasm switch

Walter Bright newshound2 at digitalmars.com
Mon Nov 2 06:36:24 UTC 2026


On 11/1/2026 4:03 PM, Richard (Rikki) Andrew Cattermole wrote:
> On 02/11/2026 12:16 PM, Walter Bright wrote:
>> Evidently I am the first!
> 
> https://gcc.gnu.org/onlinedocs/gcc-10.1.0/gcc/Code-Gen-Options.html
> 
> -fverbose-asm


See my comments on how much better dmd is at delivering useful information:

https://github.com/dlang/dmd/pull/24143

For example, interleaving source code in with the disassembly doesn't work if 
the object code is optimized. The addresses are not shown, the object code is 
not shown, the various pseudo-ops are just clutter, the output is not restricted 
to a particular function, no URL to the spec is given, it doesn't work with 
generating a library, and so on.



More information about the Digitalmars-d mailing list