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

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

Change-Id: I9a345a9077334f3209393bf835a55547bc64ae0b
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:26:29 +00:00 committed by Automerger Merge Worker
commit 1ba733dee0

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"
)