提交 72c02682 编写于 作者: A Andreas Gampe

Minikin: Disable sanitizer on x86

Disable unsigned-integer-overflow sanitizer on x86, as it crashes.

Bug: 25884483
Bug: 26432628
Change-Id: Ia658ed56a6c81660a36edf71f7116118056aa917
上级 7087da25
......@@ -51,7 +51,11 @@ LOCAL_SRC_FILES := $(minikin_src_files)
LOCAL_C_INCLUDES := $(minikin_c_includes)
LOCAL_SHARED_LIBRARIES := $(minikin_shared_libraries)
LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow unsigned-integer-overflow
LOCAL_SANITIZE := signed-integer-overflow
# b/26432628.
ifeq ($(filter x86%,$(TARGET_ARCH)),)
LOCAL_SANITIZE += unsigned-integer-overflow
endif
include $(BUILD_SHARED_LIBRARY)
......@@ -64,7 +68,11 @@ LOCAL_SRC_FILES := $(minikin_src_files)
LOCAL_C_INCLUDES := $(minikin_c_includes)
LOCAL_SHARED_LIBRARIES := $(minikin_shared_libraries)
LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow unsigned-integer-overflow
LOCAL_SANITIZE := signed-integer-overflow
# b/26432628.
ifeq ($(filter x86%,$(TARGET_ARCH)),)
LOCAL_SANITIZE += unsigned-integer-overflow
endif
include $(BUILD_STATIC_LIBRARY)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册