[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master am: 6dc9211625 -s ours
am: 60ce5440ff -s ours
am skip reason: subject contains skip directive
Change-Id: Ic270f9b1888f826db3473a8b04cb86f36797c8d2
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,