Remove libc_scudo references.
Test: Builds and boots.
Change-Id: Iad97159e6193f7afffd8fbc9456427eee5d150e3
Merged-In: Iad97159e6193f7afffd8fbc9456427eee5d150e3
(cherry picked from commit 1f16b27511
)
This commit is contained in:
@@ -408,16 +408,6 @@ func (sanitize *sanitize) deps(ctx BaseModuleContext, deps Deps) Deps {
|
||||
return deps
|
||||
}
|
||||
|
||||
if ctx.Device() {
|
||||
if Bool(sanitize.Properties.Sanitize.Address) {
|
||||
// Compiling asan and having libc_scudo in the same
|
||||
// executable will cause the executable to crash.
|
||||
// Remove libc_scudo since it is only used to override
|
||||
// allocation functions which asan already overrides.
|
||||
_, deps.SharedLibs = removeFromList("libc_scudo", deps.SharedLibs)
|
||||
}
|
||||
}
|
||||
|
||||
return deps
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user