AddressSanitizier:错误:对“__asan_report_load4”的未定义引用

时间:2016-08-09 12:23:03

标签: android c linux clang++

当我通过启用AddressSanitizier编译测试Android程序时,我收到此错误:

error: undefined reference to __asan_report_load4

有谁知道这里发生了什么?

这是我的Android.mk:

LOCAL_PATH:= $(调用my-dir) 包括$(CLEAR_VARS)

LOCAL_SRC_FILES:= asan_boom.c LOCAL_SHARED_LIBRARIES:= libc

LOCAL_CFLAGS:= -O1 -g -fsanitize = address -fno-omit-frame-pointer

LOCAL_MODULE:= asan_boom

包括$(BUILD_EXECUTABLE)

0 个答案:

没有答案
相关问题