Overlooked Essentials for Optimizing Code

Lutger lutger.blijdestijn at gmail.com
Sat Sep 11 17:22:12 PDT 2010


Walter Bright wrote:

> Lutger wrote:
>> Walter Bright wrote:
>> 
>>> BCS wrote:
>>>> what would it take to add a built in ASM dump to DMD? Putting that in
>>>> would remove the need for an external tool and might even allow more
>>>> useful output like adding source line numbers as comments.
>>>
>>> Compile with -g and obj2asm will add source lines as comments.
>> 
>> Is this also supported on linux? I can't get it to work.
> 
> Unfortunately, no.

Ok, objdump looks promising instead. It can do something with the source:

objdump -d -l -S -Mintel stuff.o






More information about the Digitalmars-d mailing list