Merge "Have the sanitizers trap rather than abort." into main am: 69cf8a3221 am: e4b133c460

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2776235

Change-Id: Ife3f87a2c713891804d741bfe4e24cc86ce5f6c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Elliott Hughes 2023-10-09 18:23:40 +00:00 committed by Automerger Merge Worker
commit 4cc2073fe9

View file

@ -86,7 +86,7 @@ var (
memtagStackCommonFlags = []string{"-march=armv8-a+memtag", "-mllvm", "-dom-tree-reachability-max-bbs-to-explore=128"}
hostOnlySanitizeFlags = []string{"-fno-sanitize-recover=all"}
deviceOnlySanitizeFlags = []string{"-fsanitize-trap=all", "-ftrap-function=abort"}
deviceOnlySanitizeFlags = []string{"-fsanitize-trap=all"}
noSanitizeLinkRuntimeFlag = "-fno-sanitize-link-runtime"
)