<div dir="ltr"><br><br><br><div class="gmail_quote"><div dir="ltr">On Sun, 4 Mar 2018 at 20:33, John McCall via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div><div><br></div>Seems like a reasonable project!  Maybe we can get a SoC student to make a standalone C++ demangler library with a tree API (an unstable one should be fine), and debuggers can just use that instead of relying on the OS's cxa_demangle.  (I'm really not sure why development tools rely on the system demangler anyway; surely it's always easier to tell users that they'd get a better experience with a new debugger than to tell them that they need to replace their system's C++ standard library?)</div><div> </div></div></blockquote><div><br></div><div>I believe there is some work being done on that already <<a href="http://lists.llvm.org/pipermail/lldb-dev/2018-January/013186.html">http://lists.llvm.org/pipermail/lldb-dev/2018-January/013186.html</a>>, but I'm not sure what's the current state of it. Also, in the default configuration, LLDB will use lllvm::itaniumDemangle for demangling (although there is a build option to use cxa_demangle). </div><div><br></div><div> </div></div></div>