[automerger skipped] Merge "bionic_unit_tests: Remove dependency on libpagemap" am: 122ecb1ca8 am: 306caa7df8
am: a5addb0aba -s ours
am skip reason: change_id Ice217a91a16ee0216354608b2776c0f1e5f65c09 with SHA1 e3f39a0efc is in history
Change-Id: I6d8aee0368ddd5b51de6029c7a5cd5c1f682b06b
diff --git a/tests/Android.bp b/tests/Android.bp
index 0a45a8e..f7273e6 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,