Do not enable sanitizers on Windows
Bug: http://b/69933068 Test: m native-host-cross SANITIZE_HOST=address Change-Id: Ia9ff941fb569b0a2e9c4eef604fd165f94bca31a
This commit is contained in:
@@ -155,7 +155,9 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
|
|||||||
|
|
||||||
if ctx.clang() {
|
if ctx.clang() {
|
||||||
if ctx.Host() {
|
if ctx.Host() {
|
||||||
globalSanitizers = ctx.Config().SanitizeHost()
|
if !ctx.Windows() {
|
||||||
|
globalSanitizers = ctx.Config().SanitizeHost()
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
arches := ctx.Config().SanitizeDeviceArch()
|
arches := ctx.Config().SanitizeDeviceArch()
|
||||||
if len(arches) == 0 || inList(ctx.Arch().ArchType.Name, arches) {
|
if len(arches) == 0 || inList(ctx.Arch().ArchType.Name, arches) {
|
||||||
|
Reference in New Issue
Block a user