Skip to content
Snippets Groups Projects
Commit 90b3b641 authored by Scott Lobdell's avatar Scott Lobdell
Browse files

Merge QP1A.190219.001

Change-Id: I716ee7324da660831bd34877a3cfdd2ad796960f
parents b2700630 c5257c3e
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ int sanitizer_status(int argc, const char** argv) {
if (test_everything || have_option("asan", argv, argc)) {
int asan_failures = 0;
#ifndef ANDROID_SANITIZE_ADDRESS
#if !defined(ANDROID_SANITIZE_ADDRESS) && !defined(ANDROID_SANITIZE_HWADDRESS)
asan_failures += 1;
printf("ASAN: Compiler flags failed!\n");
#endif
......
......@@ -28,6 +28,9 @@ func loadHook(ctx android.LoadHookContext) {
if android.InList("address", sanitizers) {
p.Cflags = append(p.Cflags, "-DANDROID_SANITIZE_ADDRESS=1")
}
if android.InList("hwaddress", sanitizers) {
p.Cflags = append(p.Cflags, "-DANDROID_SANITIZE_HWADDRESS=1")
}
if android.InList("coverage", sanitizers) {
p.Cflags = append(p.Cflags, "-DANDROID_SANITIZE_COVERAGE=1")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment