[PATCH] D44321: Support demangling for D symbols via dlopen
Johan Engelen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 20 16:18:24 PDT 2018
johanengelen added a comment.
In https://reviews.llvm.org/D44321#1038241, @timotheecour wrote:
> > When druntime is initialized, a number of resources are allocated (e.g. memory and mutex). Yes you initialize druntime once, I can see that. You don't deinitialize druntime at all: that's the resource leak.
>
> Where would you want me to deinit? inside ` DLanguage::Terminate` ?
I don't know enough of LLDB to know where to put the deinitialization. Sorry, can't help you there, except for making it easy and doing the deinitialization using a dtor in the library...
https://reviews.llvm.org/D44321
More information about the llvm-commits
mailing list