Merge commit 'ecdc451ccf9e3f6fa4a89ec99f0f59b0a8080516' into stage-aosp-master am: 41be8e99b3
am: c872f7d661
Change-Id: Ie7c0f20869cc3652f926592c5de6cb75807b0657
diff --git a/tests/Android.bp b/tests/Android.bp
index 8b921d8..f8b06c3 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: {
never: true,