From 8683038c1f59bea790d8c7691e40eed7f6250e4a Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Fri, 12 Dec 2014 21:41:29 -0800 Subject: ART: Do not inline elf writer debug symbols Using Clang, this pushes the frame size of the caller across our limit. Thus forbid inlining. The function is only called once per compile, impact is insignificant. Bug: 18738594 Change-Id: I19c3f1168a5104ab508a8dbf9f2a8c035cb97e3c --- runtime/base/macros.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/base/macros.h') diff --git a/runtime/base/macros.h b/runtime/base/macros.h index 66d6fab..f705469 100644 --- a/runtime/base/macros.h +++ b/runtime/base/macros.h @@ -158,6 +158,8 @@ char (&ArraySizeHelper(T (&array)[N]))[N]; #define ALWAYS_INLINE_LAMBDA ALWAYS_INLINE #endif +#define NO_INLINE __attribute__ ((noinline)) + #if defined (__APPLE__) #define HOT_ATTR #define COLD_ATTR -- cgit v1.1