Re-enable ASAN globals instrumentation for devices.
ASan globals instrumentation apparently broke the build in the pass. This is now a customer feature to get this up and running, let's see if it works. Bug: 137312732 Test: Build the platform, deploy and run an asan-ified test (maybe resolv_integration_test?). Change-Id: Ic4ee0db617c290d8a3fec52db4b90bc4772696b8
This commit is contained in:
parent
66abc58aa2
commit
cba311bcfc
1 changed files with 0 additions and 1 deletions
|
@ -445,7 +445,6 @@ func (sanitize *sanitize) flags(ctx ModuleContext, flags Flags) Flags {
|
|||
// 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 {
|
||||
|
|
Loading…
Reference in a new issue