Bug 2765 – module name in .obj file

Status
RESOLVED
Resolution
WONTFIX
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2009-03-27T03:46:00Z
Last change time
2016-12-22T14:51:37Z
Assigned to
bugzilla
Creator
steve.teale

Comments

Comment #0 by steve.teale — 2009-03-27T03:46:20Z
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.
Comment #1 by bugzilla — 2009-03-28T14:10:51Z
But it's easy to extract from the public symbols' name mangling.