Merge "Make aligned_alloc match the standard." am: b8ef55a4f8 am: 4917f6f575
am: 5cbbc36698
Change-Id: I396705b8822e1fca827e214d5a622f0c2651c979
diff --git a/tests/Android.bp b/tests/Android.bp
index 75c6f9f..f9ddd66 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,