Displaying 1 result from an estimated 1 matches for "demangled_nam".
Did you mean:
demangled_name
2008 Sep 05
0
[LLVMdev] Demangling question
...;
// TODO: This is a very cheesy way to extract the symbol name,
// need to come up with something that will work on various
platforms.
// fprintf(outstream, "%s\n", symbol);
char * begin = strchr(symbol, '_');
char * demangled_name = NULL;
if (begin) {
char * end = strchr(begin, ' ');
if (end) {
*end = 0;
int status;
demangled_name = abi::__cxa_demangle(begin, buffer, &sz,
&status);
}
}...