Merge "Revert "Turn on XOM for libc"" am: b656d4a1da am: 5a7769ecc4
am: 55038fbec9
Change-Id: I44ead7f9f1bac11fcc3673bd418339749484b964
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,