Enable asan/ubsan for mips
Change-Id: I1f3c89d6ca08d109e7d2a6d32448ff248a98daac
This commit is contained in:
parent
3e0fdfba85
commit
cc1a0fdde1
|
@ -65,3 +65,7 @@ $(clang_2nd_arch_prefix)RS_TRIPLE_CFLAGS :=
|
|||
RS_COMPAT_TRIPLE := mipsel-linux-android
|
||||
|
||||
$(clang_2nd_arch_prefix)TARGET_LIBPROFILE_RT := $(LLVM_RTLIB_PATH)/libclang_rt.profile-mipsel-android.a
|
||||
|
||||
# Address sanitizer clang config
|
||||
$(clang_2nd_arch_prefix)ADDRESS_SANITIZER_RUNTIME_LIBRARY := libclang_rt.asan-mips-android
|
||||
$(clang_2nd_arch_prefix)ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan
|
||||
|
|
|
@ -64,3 +64,7 @@ RS_TRIPLE_CFLAGS :=
|
|||
RS_COMPAT_TRIPLE := mips64el-linux-android
|
||||
|
||||
TARGET_LIBPROFILE_RT := $(LLVM_RTLIB_PATH)/libclang_rt.profile-mips64el-android.a
|
||||
|
||||
# Address sanitizer clang config
|
||||
$(clang_2nd_arch_prefix)ADDRESS_SANITIZER_RUNTIME_LIBRARY := libclang_rt.asan-mips64-android
|
||||
$(clang_2nd_arch_prefix)ADDRESS_SANITIZER_LINKER := /system/bin/linker_asan64
|
||||
|
|
Loading…
Reference in New Issue