Disable branch protection for arm64.
This causes failures in signal handler tests, because it looks like clang
doesn't understand how to enable the stack protection in a signal handler.
Clang winds up scribbling on the real stack.
Bug: 149934069
Bug: 151372823
Test: Ran all unit tests on bonito/taimen and the signal handler tests pass.
Change-Id: If73f55e7505b6d7f35b340be0b03c798b21e2829
diff --git a/tests/Android.bp b/tests/Android.bp
index f39aff0..d78a204 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -45,7 +45,8 @@
arm64: {
cflags: [
"-fsanitize=shadow-call-stack",
- "-mbranch-protection=standard",
+ // Disable this option for now: see b/151372823
+ //"-mbranch-protection=standard",
],
},
},