blob: 610c686e0009a572d471954e32bea26a96a046b0 [file] [log] [blame]
Ingo Molnar1e3f30f2013-10-02 15:48:49 +02001extern int printf(const char *format, ...);
Ingo Molnar1c476612013-10-02 15:15:09 +02002extern char *cplus_demangle(const char *, int);
3
4int main(void)
5{
Ingo Molnar1e3f30f2013-10-02 15:48:49 +02006 char symbol[4096] = "FieldName__9ClassNameFd";
7 char *tmp;
8
9 tmp = cplus_demangle(symbol, 0);
10
11 printf("demangled symbol: {%s}\n", tmp);
Ingo Molnar1c476612013-10-02 15:15:09 +020012
13 return 0;
14}