[Issue 9922] New: Improve symbol emitting for templates for better separate compilation support
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 11 11:09:59 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9922
Summary: Improve symbol emitting for templates for better
separate compilation support
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: m.strashun at gmail.com
--- Comment #0 from Dicebot <m.strashun at gmail.com> 2013-04-11 11:09:58 PDT ---
Currently all of them are generated to object file associated with module
supplied to the command line. For separate compilation scenario that means that
ALL template symbols from ALL imported modules are emitted into compiled single
module.
Most time it is just extra job for linker, but sometimes this results in nasty
bugs when resulting symbols are not weak ones.
Desired behavior: dmd will tries to find root module where template
instantiation chain has started via call from non-templated scope.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list