commit | c9b5aa813810f5dad1473154f2c959dbf42e272e | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Fri Jan 21 19:46:22 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jan 21 19:46:22 2022 +0000 |
tree | 49a9d980ba6d6480acd030517902f0c9eb435fbf | |
parent | 925a30496adde4d3c4ba1413e14bf8c96aebf5a3 [diff] | |
parent | 0edaddf2ce9427cada9c396afa2a7906d293334a [diff] |
Merge "Reland "Enable hwasan use after scope detection.""
diff --git a/cc/sanitize.go b/cc/sanitize.go index 6c68822..a054c91 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go
@@ -42,6 +42,7 @@ "-fno-omit-frame-pointer", "-Wno-frame-larger-than=", "-fsanitize-hwaddress-abi=platform", + "-mllvm", "-hwasan-use-after-scope=1", } // ThinLTO performs codegen during link time, thus these flags need to