<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 10, 2015 at 4:41 PM, Michael Spencer <span dir="ltr"><<a href="mailto:bigcheesegs@gmail.com" target="_blank">bigcheesegs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, Feb 10, 2015 at 10:14 AM, Sumanth Gundapaneni<br>
<<a href="mailto:sgundapa@codeaurora.org">sgundapa@codeaurora.org</a>> wrote:<br>
> Hi,<br>
><br>
>       AFAIK, the tools “symbolizer, objdump and nm” need a demangler.<br>
><br>
> I see there is libcxxabi which provides the demangle library. But there is<br>
> no support to build libcxxabi on windows with MSVC.<br>
><br>
> This left a huge void and my symbolizer cannot work on Windows if built with<br>
> MSVC.<br>
><br>
><br>
><br>
> Instead of mucking around OS dependencies, why shouldn’t we have a demangle<br>
> library in LLVM.<br>
><br>
> I already have this implementation locally and it works fine for me on both<br>
> Linux and Windows.<br>
><br>
><br>
><br>
> Any thoughts ?<br>
<br>
</div></div>Lots of people want this, but nobody has had the time yet. It would<br>
need to support both the itanium and msvc manglings, and be resilient<br>
against malicious mangled names (it's possible to construct ~200 byte<br>
names that expand out to multiple GiBs).<br></blockquote><div><br></div><div>Since the itanium and msvc ones are going to be completely separate code paths, it probably makes sense as an incremental step to do just itanium, since it seems we already know of a couple implementations we could integrate.</div><div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
- Michael Spencer<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
><br>
><br>
> --Sumanth G<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br></div></div>