[automerger skipped] Merge "Add removed platform functions used by apps." am: 8106319006
am: e4a24f0fa2 -s ours
am skip reason: change_id Ib1ea3a37b3729f9bcc2739c5f3a584ea8f66d200 with SHA1 235f35a266 is in history
Change-Id: I9fbd8ec75b945468f64fa1d9da652777403c03fb
diff --git a/tests/Android.bp b/tests/Android.bp
index 85bb29a..c2217f2 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,