summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_switch_impl-inl.h
diff options
context:
space:
mode:
author Chris Wailes <chriswailes@google.com> 2021-05-12 17:16:50 -0700
committer Chris Wailes <chriswailes@google.com> 2022-06-17 17:11:33 +0000
commit82b1bf2024591d6cd85e9ecd9ec704f67444e3c2 (patch)
treeeef739e330eb439929ee2a5e5211b88fd0a14b30 /runtime/interpreter/interpreter_switch_impl-inl.h
parent1f10bc18546be8fa890406b4f59ed8f727e3dfac (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 'runtime/interpreter/interpreter_switch_impl-inl.h')
-rw-r--r--runtime/interpreter/interpreter_switch_impl-inl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/interpreter/interpreter_switch_impl-inl.h b/runtime/interpreter/interpreter_switch_impl-inl.h
index d95c507698..5e744dc20b 100644
--- a/runtime/interpreter/interpreter_switch_impl-inl.h
+++ b/runtime/interpreter/interpreter_switch_impl-inl.h
@@ -1834,6 +1834,7 @@ DEX_INSTRUCTION_LIST(OPCODE_CASE)
#undef OPCODE_CASE
template<bool do_access_check, bool transaction_active>
+NO_STACK_PROTECTOR
void ExecuteSwitchImplCpp(SwitchImplContext* ctx) {
Thread* self = ctx->self;
const CodeItemDataAccessor& accessor = ctx->accessor;