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-21 18:28:10 +0000
commit9f61e0afdea60320cb8ea7651494bd3f51bfa77b (patch)
tree15a240fa26cb53a0dd902cfe74be133e00e5632e /runtime/interpreter/interpreter_switch_impl-inl.h
parent35d502e87a6c6db22f3d93d1d077231af5e46f7e (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 Test: atest UidAtomTests Bug: 236398669 Bug: 236399082 Bug: 168258494 Change-Id: I4c9db1934b848b60d636bb82b6855c8a8a6e8383
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;