<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>