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

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

Change-Id: Icd16b72ab0d83343d01cc9e03a6d20cd5ce594b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Elliott Hughes 2023-10-09 16:44:10 +00:00 committed by Automerger Merge Worker
commit e4b133c460

View file

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