summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_switch_impl-inl.h
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2020-05-16 01:38:49 +0100
committer David Srbecky <dsrbecky@google.com> 2020-05-20 13:24:47 +0000
commit2acd1ec12ab6b81a7e870ab11085c24ae51faf6d (patch)
treeae9f2fc872cc3ca9ae456df13e7d5057e6fc1254 /runtime/interpreter/interpreter_switch_impl-inl.h
parent4d55215d8b4bd0efb65b3a84a7dd041a6b097a96 (diff)
HWASan fixes for ART tests
Bug: 156593692 Test: SANITIZE_TARGET=hwaddress art/tools/run-gtests.sh Test: SANITIZE_TARGET=hwaddress art/test.py -r --target --64 Change-Id: I24c5afdb4fed5ac94ce3a7b54a10c592f529191f
Diffstat (limited to 'runtime/interpreter/interpreter_switch_impl-inl.h')
-rw-r--r--runtime/interpreter/interpreter_switch_impl-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter_switch_impl-inl.h b/runtime/interpreter/interpreter_switch_impl-inl.h
index 863612fae2..0f15adffb8 100644
--- a/runtime/interpreter/interpreter_switch_impl-inl.h
+++ b/runtime/interpreter/interpreter_switch_impl-inl.h
@@ -1909,7 +1909,7 @@ class InstructionHandler {
};
// Don't inline in ASAN. It would create massive stack frame.
-#ifdef ADDRESS_SANITIZER
+#if defined(ADDRESS_SANITIZER) || defined(HWADDRESS_SANITIZER)
#define ASAN_NO_INLINE NO_INLINE
#else
#define ASAN_NO_INLINE ALWAYS_INLINE