[Lldb-commits] [PATCH] D44321: Support demangling for D symbols via dlopen

Timothee Cour via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Mar 10 13:54:58 PST 2018

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/qtabwblpaqwpteystwft@forum.dlang.org
explicit calling `d_initialize` is simple enough.


More information about the lldb-commits mailing list