www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16969] New: [backend] add an assemby writer

https://issues.dlang.org/show_bug.cgi?id=16969

          Issue ID: 16969
           Summary: [backend] add an assemby writer
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: b2.temp gmx.com

instead of writing byte code, we could have a switch that would have for effect
to output text files filled with a dump of the asm of what would be compiled.

The goal is not to have an intermediate format that can be compiled but rather
to inspect the backend production. Currently with DMD we have to use *objdump*
under linux, *IDA* under windows and other home solutions such as beaengine.

--
Dec 13 2016