commit | 68c9eed6b25552762baee688c2c986a68e995e73 | [log] [tgz] |
---|---|---|
author | Mitch Phillips <mitchp@google.com> | Fri Jul 12 19:44:29 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jul 12 19:44:29 2019 +0000 |
tree | 2536f6419eea7f4380c1908bba0cad6a0e4fd6c5 | |
parent | 7bb2aec17b8cf26cffa4be8c5551c191f26e1608 [diff] | |
parent | cba311bcfc698c09841e289537e077905ef9ff44 [diff] |
Merge "Re-enable ASAN globals instrumentation for devices."
diff --git a/cc/sanitize.go b/cc/sanitize.go index 0eb9a74..c59f53a 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go
@@ -445,7 +445,6 @@ // libraries needed with -fsanitize=address. http://b/18650275 (WAI) flags.LdFlags = append(flags.LdFlags, "-Wl,--no-as-needed") } else { - flags.CFlags = append(flags.CFlags, "-mllvm", "-asan-globals=0") if ctx.bootstrap() { flags.DynamicLinker = "/system/bin/bootstrap/linker_asan" } else {