<div dir="ltr">Hi Erik,<div><br></div><div>It would be great to have it soon!</div><div>CC me please.</div><div><br></div><div>Thanks a lot!</div><div>Fangqing</div><div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-16 12:27 GMT-07:00 Erik Pilkington <span dir="ltr"><<a href="mailto:erik.pilkington@gmail.com" target="_blank">erik.pilkington@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi Fangqing,<br>
llvm::itaniumDemangle() doesn't yet provide this functionality, but
I'm working on adding it in now for the LLDB folks
(<a class="m_5650943747557193702moz-txt-link-freetext" href="http://lists.llvm.org/pipermail/lldb-dev/2018-January/013186.html" target="_blank">http://lists.llvm.org/<wbr>pipermail/lldb-dev/2018-<wbr>January/013186.html</a>).
I should have a patch up Very Soon! If you would like I can CC you
to it.<br>
Thanks,<br>
Erik<div><div class="h5"><br>
<br>
<div class="m_5650943747557193702moz-cite-prefix">On 2018-03-16 2:15 PM, Fangqing Du via
llvm-dev wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>We know that 'ItaniumDemangle' has been added into llvm lib
to resolve demangling related issues.</div>
<div><br>
<div>And if we dump mangled function name '_Z3duti' into 'char
*llvm::itaniumDemangle(const char *mangled_name, char *buf,
size_t *n, int *status)', we will get 'dut(int)'.</div>
</div>
<div><br>
</div>
<div>So my question is:</div>
<div>How can I just get the function name 'dut' without
parameters, like '(int)', in above case?</div>
<div><br>
</div>
<div>(We know that there is a GNU project, named libiberty,
which can provide several different demangling types through a
demangling option. However, libiberty is an old c lib. So do
we have any replacement?)</div>
</div>
<br>
<fieldset class="m_5650943747557193702mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
LLVM Developers mailing list
<a class="m_5650943747557193702moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>
<a class="m_5650943747557193702moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div></div></div>