[Lldb-commits] [PATCH] D44321: Support demangling for D symbols via dlopen
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 21 04:23:05 PDT 2018
labath added a comment.
The Terminate function is a good place to do this kind of cleanup.
================
Comment at: source/Plugins/Language/D/DLanguage.cpp:34-36
+// D Plugin will define these symbols. They're declared to use with decltype.
+extern "C" {
+// called once, to initialize druntime. Return true on success
----------------
Instead of using decltype everywhere, you could just define the type of these functions with typedef and use that.
https://reviews.llvm.org/D44321
More information about the lldb-commits
mailing list