timotheecour added inline comments.
================
Comment at: source/Plugins/Language/D/DLanguage.cpp:108
+
+ auto fun0=lib2->getFun<decltype(d_initialize)>("d_initialize");
+ (*fun0)();
----------------
johanengelen wrote:
> Would it help to initialize druntime using a static module constructor in the
> lldbdplugin dll?
> (then you can also do de-init using a static module destructor)
I don't really like static module constructor because it adds cyclic
dependencies, see for vibe.d moving away from it:
https://forum.dlang.org/post/[email protected]
explicit calling `d_initialize` is simple enough.
https://reviews.llvm.org/D44321
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits