Elliott Hughes | f0ccdc5 | 2014-08-15 15:59:20 -0700 | [diff] [blame] | 1 | /* Turn on our Android-specific changes until we can upstream them. */ |
| 2 | #define ANDROID_PATCHES |
| 3 | |
| 4 | #include <stddef.h> |
| 5 | |
Elliott Hughes | 8ebfa95 | 2015-02-05 11:07:37 -0800 | [diff] [blame] | 6 | /* In libcxxabi. */ |
Elliott Hughes | f0ccdc5 | 2014-08-15 15:59:20 -0700 | [diff] [blame] | 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 | } |