Merge "Cleanup bionic tests with hwasan." am: f827d82cdd am: d1e1a5e3d5
am: c2bc9b4ce3
Change-Id: I292a729985e514fb672963a50dc94d25e639f5f6
diff --git a/tests/Android.bp b/tests/Android.bp
index b039f00..a92cfe5 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,