summaryrefslogtreecommitdiff
path: root/test/tsan/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/test.h')
-rw-r--r--test/tsan/test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/test.h b/test/tsan/test.h
index bc4f7aad55fe..595590b58ce2 100644
--- a/test/tsan/test.h
+++ b/test/tsan/test.h
@@ -56,7 +56,7 @@ unsigned long long monotonic_clock_ns() {
#endif
//The const kPCInc must be in sync with StackTrace::GetPreviousInstructionPc
-#if defined(__powerpc64__)
+#if defined(__powerpc64__) || defined(__arm__) || defined(__aarch64__)
// PCs are always 4 byte aligned.
const int kPCInc = 4;
#elif defined(__sparc__) || defined(__mips__)