Disable unsigned integer overflow sanitization until libc++ is fixed.

Bug: http://b/26781196
Bug: http://b/25884483
Bug: http://b/26432628

Although this issue was first only manifesting on Fugu, it now affects
N9 and N6p as well. This change disables unsigned overflow sanitization
on all platforms. The real fix for libc++ (r257368) can't be committed
until we have updated Clang at least one more time.

Change-Id: I71e9c50d25ae4566d4c06f348183c4b22a4bb60a
This commit is contained in:
Stephen Hines
2016-01-26 00:44:02 -08:00
parent 251f4772fb
commit 900a7c36fb

View File

@@ -53,9 +53,7 @@ LOCAL_SHARED_LIBRARIES := $(minikin_shared_libraries)
LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow
# b/26432628.
ifeq ($(filter x86%,$(TARGET_ARCH)),)
LOCAL_SANITIZE += unsigned-integer-overflow
endif
#LOCAL_SANITIZE += unsigned-integer-overflow
include $(BUILD_SHARED_LIBRARY)
@@ -70,9 +68,7 @@ LOCAL_SHARED_LIBRARIES := $(minikin_shared_libraries)
LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow
# b/26432628.
ifeq ($(filter x86%,$(TARGET_ARCH)),)
LOCAL_SANITIZE += unsigned-integer-overflow
endif
#LOCAL_SANITIZE += unsigned-integer-overflow
include $(BUILD_STATIC_LIBRARY)