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

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

Change-Id: I09f46d6a667f1724c40d6990f9d306ba284c6659
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:57:24 +00:00 committed by Automerger Merge Worker
commit c5d48c4537

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