Merge "Revert "Re-enable ASAN globals instrumentation for devices.""
am: 20cf012ad1
Change-Id: Ibffe87ad95d7336c9ffdd78eb67fd81ab4b3e1b1
This commit is contained in:
@@ -451,6 +451,7 @@ 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 {
|
||||
|
Reference in New Issue
Block a user