Qing Shan Zhang via llvm-dev
2018-Aug-21 03:25 UTC
[llvm-dev] Add the support of "ItaniumPartialDemangler" in libcxxabi
<font face="Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi, guys,</div><div><br></div><div>Some debug tool(i.e dbx) needs the runtime to provide the component names for the demangled name(i.e qualifier, base name etc). I notice that, the Demangler in llvm indeed provides the interface to retrieve this information. However, the demangler in the libcxxabi didn't. I can fully understand that what we need to do is just to implement the __cxa_demangle() api that defined in ABI. I wonder if we could add some routines in the libcxxabi to retrieve the component names to make it more powerful, together with the full demangled name. Thank you.</div><div><br>Best regards<br><br>steven.zhang(张青山)<br>XLC++ Compiler Frontend Developer<br><br>IBM China Development Lab, Shanghai <br>E-mail: <a href="mailto:qshanz@cn.ibm.com">qshanz@cn.ibm.com</a><br><br>"All things are difficult before they are easy."</div></font><BR>