<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 21, 2016, at 5:52 AM, Johan Engelen via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" class="">lldb-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi all,<div class="">  I recently looked into adding demangling support for D in LLDB, but got lost in the code.</div><div class="">(right now, basic D support is there with: <a href="https://reviews.llvm.org/D24794" class="">https://reviews.llvm.org/D24794</a>)</div><div class=""><br class=""></div><div class="">I'd like some pointers to where demangling is done for the other languages, and to where I should add D support for it.</div></div></div></blockquote><div><br class=""></div><div>C++ demangler is in libcxxabi (and a copy is kept in LLVM itself).</div><div><br class=""></div><div>LLDB includes a “fast” demangler and falls back to the libcxxabi one when the “fast” one fails.</div><div><br class=""></div><div>David Majnemer mentioned he was interested in rewriting a demangler functionality in LLVM, I don’t know the scope though (could it have a common infrastructure for multiple language/scheme?).</div><div><br class=""></div><div><br class=""></div><div>— </div><div>Mehdi</div></div></body></html>