diff options
author | 2021-05-12 17:16:50 -0700 | |
---|---|---|
committer | 2022-06-17 17:11:33 +0000 | |
commit | 82b1bf2024591d6cd85e9ecd9ec704f67444e3c2 (patch) | |
tree | eef739e330eb439929ee2a5e5211b88fd0a14b30 /libartbase/base/macros.h | |
parent | 1f10bc18546be8fa890406b4f59ed8f727e3dfac (diff) |
Remove stack protector from some interpreter functions
This CL removes stack protection from several functions in the
interpreter to allow us to re-set the stack protector cookie when new
processes fork from any of the zygotes.
Test: boot
Bug: 168258494
Change-Id: Id65d0d96b028599f27f74c25e279a03b85e52651
Diffstat (limited to 'libartbase/base/macros.h')
-rw-r--r-- | libartbase/base/macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libartbase/base/macros.h b/libartbase/base/macros.h index eec73cb699..13e87d770d 100644 --- a/libartbase/base/macros.h +++ b/libartbase/base/macros.h @@ -75,6 +75,8 @@ template<typename T> ART_FRIEND_TEST(test_set_name, individual_test) #define FLATTEN __attribute__ ((flatten)) #endif +#define NO_STACK_PROTECTOR __attribute__ ((no_stack_protector)) + // clang doesn't like attributes on lambda functions. It would be nice to say: // #define ALWAYS_INLINE_LAMBDA ALWAYS_INLINE #define ALWAYS_INLINE_LAMBDA |