[Issue 18456] crt_constructor/crt_destructor segfaults if -lib

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 2 05:51:02 UTC 2019


--- Comment #4 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

fix issue 18456 - crt_constructor/crt_destructor segfaults if -lib

delay objmod.setModuleCtorDtor until the function is actually generated
don't make them extra object files in a library, they will never be linked

Merge pull request #9132 from rainers/issue18456

fix issue 18456 - crt_constructor/crt_destructor segfaults if -lib
merged-on-behalf-of: Nicholas Wilson <thewilsonator at users.noreply.github.com>


More information about the Digitalmars-d-bugs mailing list