blob: ab29f80570afd697d7c64884c5eddbc5d00ecf2a [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}
15