Index: third_party/tcmalloc/chromium/src/stacktrace_config.h |
diff --git a/third_party/tcmalloc/chromium/src/stacktrace_config.h b/third_party/tcmalloc/chromium/src/stacktrace_config.h |
index 18f16abd0bef76fa425c944877af1ca7e58ee4db..72d108a8c24ec50742e1e70fd9ab7a226f707742 100644 |
--- a/third_party/tcmalloc/chromium/src/stacktrace_config.h |
+++ b/third_party/tcmalloc/chromium/src/stacktrace_config.h |
@@ -68,6 +68,14 @@ |
# define STACKTRACE_INL_HEADER "stacktrace_generic-inl.h" |
# endif |
+// The ARM case |
+#elif defined(__arm__) && __GNUC__ >= 2 |
+# if !defined(NO_FRAME_POINTER) |
+# define STACKTRACE_INL_HEADER "stacktrace_arm-inl.h" |
+# else |
+# error stacktrace without frame pointer is not supported on ARM |
+# endif |
+ |
// The Windows case -- probably cygwin and mingw will use one of the |
// x86-includes above, but if not, we can fall back to windows intrinsics. |
#elif defined(_WIN32) || defined(__CYGWIN__) || defined(__CYGWIN32__) || defined(__MINGW32__) |