Commit graph

2 commits

Author SHA1 Message Date
Martin
94d607acb2 Streamline output filenames with DMD
Incl. functional changes, especially wrt. preserved paths for object files
(previously only when creating a static/dynamic library, now only if
specifying the -op switch).
2016-09-07 09:53:35 +02:00
David Nadlinger
d47bdb234a gen: Use single ldc.register_dso function for both module ctor/dtor
This reduces the size of a statically linked Phobos-based
Hello World by 11 kB on Linux x86_64.

Also creates a header file for gen/module.cpp, which has been
renamed to "modules" such as not to conflict with the frontend
header file.
2016-08-18 16:28:41 +02:00