[Lldb-commits] [PATCH] D44321: Support demangling for D symbols via dlopen
Timothee Cour via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 14 16:15:17 PDT 2018
timotheecour added a comment.
> How do you de-initialize druntime? (without de-init, there is a big mem leak)
There is no memory leak because `d_initialize` once (using c++11 static initialization pattern) and is intended to last for duration of application; so druntime will be initialized only once, upon 1st use.
I've however added `d_terminate` in case a future PR wants to de-initialize druntime (eg in DLanguage::Terminate)
https://reviews.llvm.org/D44321
More information about the lldb-commits
mailing list