Merge "Test for ns_parserr() and got a heap-buffer-overflow"
am: d0494b368e
Change-Id: Iac510a0f8e199711ff7fa2df9f9fb8d5dd77a278
diff --git a/tests/Android.bp b/tests/Android.bp
index 4477b52..f0fe5e6 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,