Home | History | Annotate | Download | only in linux-tools-perf
      1 /* Turn on our Android-specific changes until we can upstream them. */
      2 #define ANDROID_PATCHES
      3 
      4 #include <stddef.h>
      5 
      6 /* In libcxxabi. */
      7 extern char* __cxa_demangle(const char*, char*, size_t*, int*);
      8 
      9 /* So we can say HAVE_CPLUS_DEMANGLE (since we don't have libbfd). */
     10 static inline char* cplus_demangle(const char* c, int i) {
     11   return __cxa_demangle(c, 0, 0, 0);
     12 }
     13