www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2765] New: module name in .obj file

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2765

           Summary: module name in .obj file
           Product: D
           Version: 2.026
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: steve.teale britseyeview.com


It would be handy for the dynamic loading of D modules if the back end could
emit a comment record somewhere after the THEADR with module=xxx.yyy.zzz, where
xxx.yyy.zzz was the module name as stated in the module statement of the D
file, or failing that, the file name stripped of ".d".

This is not always the same as the file name, but is what is used in the full
names of the public symbols.


-- 
Mar 27 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2765


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement




------- Comment #1 from bugzilla digitalmars.com  2009-03-28 14:10 -------
But it's easy to extract from the public symbols' name mangling.


-- 
Mar 28 2009