druntime
druntime copied to clipboard
Low level runtime library for the D programming language
See changelog/docs for details. I'll make a dlang.org pull for this soon. This is adapted from a patch by Ketmar Dark: https://issues.dlang.org/show_bug.cgi?id=16269#c4. CC'ing @jmdavis @schveiguy.
As a bonus on top of #2442, this re-enables the message that complains if you try and `move` a type with an interior pointer. I'm not even convinced the assert...
If the program during initialization in the pressing memory environment died with the Error thrown by the GC, GC would not be usable anymore. However, dso registry unregistration will try...
(Trying again after closing PR 1986.) Apologies for three separate commits. Two of the commits were necessary to get the test program passing. - Prevent returning dangling pointer from thread_attachThis...
Relevant to https://github.com/dlang/druntime/pull/2155 and https://github.com/dlang/druntime/pull/1846 and potentially more future PRs. This should be a mostly backwards-compatible change that enables adding more stats with less performance concerns. Natural drawback is of...
I don't like this approach too too much, but something needs to be done, so it's a starting point. That issue is louder than it appears. If `typeid(X) == typeid(Y)`,...
Part of transition to C++11 types. Blocked by https://github.com/dlang/dmd/pull/9029
assert() is used throughout the various bits and pieces involved in druntime startup and teardown. However, the default assert handler (throwing an AssertError) requires the GC and exception handling to...