Generating assembly from dmd

nazriel spam at dzfl.pl
Sun Dec 22 07:32:45 PST 2013


On Sunday, 22 December 2013 at 14:17:50 UTC, Joseph Rushton 
Wakeling wrote:
> Hi all,
>
> Can someone walk me through in a friendly way how to check the 
> assembly produced by dmd?  The application in this case is 
> checking some new patches to Phobos. It's something I'm not 
> familiar with doing in general and particularly not with dmd 
> (which doesn't seem to have an assembly-output switch), so I'm 
> hoping someone can advise :-)
>
> Thanks & best wishes,
>
>     -- Joe

dmd -c ./file.d && objdump ./file.o -D -M intel

or drop -M intel if you prefer at&t



More information about the Digitalmars-d-learn mailing list