Merge "Fix linker compilation with timing enabled" am: be128f38d6
am: ea3be9f372
Change-Id: I1b4b6137288aec72cb70d6ad264724dcd9e56064
diff --git a/tests/Android.bp b/tests/Android.bp
index 71cf8a6..3d5feb2 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -38,6 +38,12 @@
// For glibc.
"-D__STDC_LIMIT_MACROS",
],
+ // Make the bionic tests implicitly test bionic's shadow call stack support.
+ arch: {
+ arm64: {
+ cflags: ["-fsanitize=shadow-call-stack"],
+ },
+ },
stl: "libc++",
sanitize: {
address: false,