2012-10-10 03:34:32 +08:00
|
|
|
# Build for the undefined behavior sanitizer runtime support library.
|
|
|
|
|
|
|
|
set(UBSAN_SOURCES
|
|
|
|
ubsan_diag.cc
|
2014-07-26 06:24:34 +08:00
|
|
|
ubsan_init.cc
|
2014-07-24 02:44:54 +08:00
|
|
|
ubsan_flags.cc
|
2012-10-10 03:34:32 +08:00
|
|
|
ubsan_handlers.cc
|
2013-03-21 07:49:17 +08:00
|
|
|
ubsan_value.cc
|
|
|
|
)
|
|
|
|
|
2015-04-02 06:42:36 +08:00
|
|
|
set(UBSAN_STANDALONE_SOURCES
|
2017-05-05 17:02:28 +08:00
|
|
|
ubsan_diag_standalone.cc
|
2017-09-19 06:47:36 +08:00
|
|
|
ubsan_init_standalone.cc
|
2017-09-23 10:47:11 +08:00
|
|
|
ubsan_signals_standalone.cc
|
2015-04-02 06:42:36 +08:00
|
|
|
)
|
|
|
|
|
2016-08-23 04:27:21 +08:00
|
|
|
set(UBSAN_CXXABI_SOURCES
|
2012-10-25 10:07:02 +08:00
|
|
|
ubsan_handlers_cxx.cc
|
|
|
|
ubsan_type_hash.cc
|
2015-07-09 06:10:34 +08:00
|
|
|
ubsan_type_hash_itanium.cc
|
|
|
|
ubsan_type_hash_win.cc
|
2012-10-10 03:34:32 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(..)
|
|
|
|
|
|
|
|
set(UBSAN_CFLAGS ${SANITIZER_COMMON_CFLAGS})
|
2016-03-05 18:01:04 +08:00
|
|
|
append_rtti_flag(OFF UBSAN_CFLAGS)
|
2016-01-28 05:15:10 +08:00
|
|
|
append_list_if(SANITIZER_CAN_USE_CXXABI -DUBSAN_CAN_USE_CXXABI UBSAN_CFLAGS)
|
|
|
|
|
2015-04-02 06:42:36 +08:00
|
|
|
set(UBSAN_STANDALONE_CFLAGS ${SANITIZER_COMMON_CFLAGS})
|
2016-03-05 18:01:04 +08:00
|
|
|
append_rtti_flag(OFF UBSAN_STANDALONE_CFLAGS)
|
2016-01-28 05:15:10 +08:00
|
|
|
append_list_if(SANITIZER_CAN_USE_CXXABI -DUBSAN_CAN_USE_CXXABI UBSAN_STANDALONE_CFLAGS)
|
|
|
|
|
2014-07-30 05:52:25 +08:00
|
|
|
set(UBSAN_CXXFLAGS ${SANITIZER_COMMON_CFLAGS})
|
2016-08-23 02:30:37 +08:00
|
|
|
append_rtti_flag(ON UBSAN_CXXFLAGS)
|
2016-01-28 05:15:10 +08:00
|
|
|
append_list_if(SANITIZER_CAN_USE_CXXABI -DUBSAN_CAN_USE_CXXABI UBSAN_CXXFLAGS)
|
2012-10-10 03:34:32 +08:00
|
|
|
|
2017-07-28 11:39:38 +08:00
|
|
|
set(UBSAN_DYNAMIC_LIBS ${SANITIZER_COMMON_LINK_LIBS})
|
|
|
|
|
2017-05-18 01:17:41 +08:00
|
|
|
append_list_if(COMPILER_RT_HAS_LIBDL dl UBSAN_DYNAMIC_LIBS)
|
2017-07-27 05:16:15 +08:00
|
|
|
append_list_if(COMPILER_RT_HAS_LIBLOG log UBSAN_DYNAMIC_LIBS)
|
2017-05-18 01:17:41 +08:00
|
|
|
append_list_if(COMPILER_RT_HAS_LIBRT rt UBSAN_DYNAMIC_LIBS)
|
|
|
|
append_list_if(COMPILER_RT_HAS_LIBPTHREAD pthread UBSAN_DYNAMIC_LIBS)
|
2017-07-28 11:39:39 +08:00
|
|
|
|
|
|
|
list(APPEND UBSAN_DYNAMIC_LIBS ${SANITIZER_CXX_ABI_LIBRARY})
|
2017-05-18 03:37:27 +08:00
|
|
|
|
2016-08-27 04:52:22 +08:00
|
|
|
add_compiler_rt_component(ubsan)
|
2012-10-10 03:34:32 +08:00
|
|
|
|
2012-11-16 20:57:07 +08:00
|
|
|
if(APPLE)
|
2015-06-25 08:57:42 +08:00
|
|
|
set(UBSAN_COMMON_SOURCES ${UBSAN_SOURCES})
|
|
|
|
if(SANITIZER_CAN_USE_CXXABI)
|
2016-08-23 04:27:21 +08:00
|
|
|
list(APPEND UBSAN_COMMON_SOURCES ${UBSAN_CXXABI_SOURCES})
|
2015-06-25 08:57:42 +08:00
|
|
|
endif()
|
|
|
|
|
2015-06-11 07:55:07 +08:00
|
|
|
# Common parts of UBSan runtime.
|
|
|
|
add_compiler_rt_object_libraries(RTUbsan
|
|
|
|
OS ${SANITIZER_COMMON_SUPPORTED_OS}
|
2015-06-19 11:39:24 +08:00
|
|
|
ARCHS ${UBSAN_COMMON_SUPPORTED_ARCH}
|
2015-06-25 08:57:42 +08:00
|
|
|
SOURCES ${UBSAN_COMMON_SOURCES}
|
2015-06-11 07:55:07 +08:00
|
|
|
CFLAGS ${UBSAN_CXXFLAGS})
|
2015-04-02 06:42:36 +08:00
|
|
|
|
2015-06-11 07:55:07 +08:00
|
|
|
if(COMPILER_RT_HAS_UBSAN)
|
|
|
|
# Initializer of standalone UBSan runtime.
|
|
|
|
add_compiler_rt_object_libraries(RTUbsan_standalone
|
|
|
|
OS ${SANITIZER_COMMON_SUPPORTED_OS}
|
2015-06-19 11:39:24 +08:00
|
|
|
ARCHS ${UBSAN_SUPPORTED_ARCH}
|
2015-06-11 07:55:07 +08:00
|
|
|
SOURCES ${UBSAN_STANDALONE_SOURCES}
|
|
|
|
CFLAGS ${UBSAN_STANDALONE_CFLAGS})
|
2015-08-27 06:36:31 +08:00
|
|
|
|
2017-01-10 12:33:04 +08:00
|
|
|
add_weak_symbols("ubsan" WEAK_SYMBOL_LINK_FLAGS)
|
|
|
|
add_weak_symbols("sanitizer_common" WEAK_SYMBOL_LINK_FLAGS)
|
2017-01-09 11:51:42 +08:00
|
|
|
|
2015-08-27 06:36:31 +08:00
|
|
|
add_compiler_rt_runtime(clang_rt.ubsan
|
|
|
|
SHARED
|
|
|
|
OS ${SANITIZER_COMMON_SUPPORTED_OS}
|
|
|
|
ARCHS ${UBSAN_SUPPORTED_ARCH}
|
|
|
|
OBJECT_LIBS RTUbsan
|
|
|
|
RTUbsan_standalone
|
|
|
|
RTSanitizerCommon
|
2015-08-28 06:23:27 +08:00
|
|
|
RTSanitizerCommonLibc
|
2017-09-23 10:47:11 +08:00
|
|
|
RTInterception
|
2017-01-10 12:33:04 +08:00
|
|
|
LINK_FLAGS ${WEAK_SYMBOL_LINK_FLAGS}
|
2015-08-27 06:36:31 +08:00
|
|
|
PARENT_TARGET ubsan)
|
2015-06-11 07:55:07 +08:00
|
|
|
endif()
|
|
|
|
|
2012-11-16 20:57:07 +08:00
|
|
|
else()
|
2015-04-02 06:42:36 +08:00
|
|
|
# Common parts of UBSan runtime.
|
2015-06-11 07:55:07 +08:00
|
|
|
add_compiler_rt_object_libraries(RTUbsan
|
2015-06-19 11:39:24 +08:00
|
|
|
ARCHS ${UBSAN_COMMON_SUPPORTED_ARCH}
|
2015-06-11 07:55:07 +08:00
|
|
|
SOURCES ${UBSAN_SOURCES} CFLAGS ${UBSAN_CFLAGS})
|
2016-08-23 04:27:21 +08:00
|
|
|
|
|
|
|
if(SANITIZER_CAN_USE_CXXABI)
|
|
|
|
# C++-specific parts of UBSan runtime. Requires a C++ ABI library.
|
|
|
|
set(UBSAN_CXX_SOURCES ${UBSAN_CXXABI_SOURCES})
|
|
|
|
else()
|
|
|
|
# Dummy target if we don't have C++ ABI library.
|
|
|
|
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/cxx_dummy.cc "")
|
|
|
|
set(UBSAN_CXX_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/cxx_dummy.cc)
|
|
|
|
endif()
|
|
|
|
|
2015-06-11 07:55:07 +08:00
|
|
|
add_compiler_rt_object_libraries(RTUbsan_cxx
|
2015-06-19 11:39:24 +08:00
|
|
|
ARCHS ${UBSAN_COMMON_SUPPORTED_ARCH}
|
2015-06-11 07:55:07 +08:00
|
|
|
SOURCES ${UBSAN_CXX_SOURCES} CFLAGS ${UBSAN_CXXFLAGS})
|
2015-04-02 06:42:36 +08:00
|
|
|
|
[sanitizer] Split dll_thunks into different sanitizers.
When the sanitizer is implemented as a static library and is included in the
main executable, we need an auxiliary static library dll_thunk that will be
linked to the dlls that have instrumentation, so they can refer to the runtime
in the main executable. Basically, it uses interception to get a pointer the
function in the main executable and override its function with that pointer.
Before this diff, all of the implementation for dll_thunks was included in asan.
In this diff I split it into different sanitizers, so we can use other
sanitizers regardless of whether we include asan or not.
All the sanitizers include a file sanitizer_win_dll_thunk.cc that register
functions to be intercepted in the binary section: DLLTH
When the dll including dll_thunk is initialized, it will execute
__dll_thunk_init() implemented in: sanitizer_common/sanitizer_win_dll_thunk.cc,
which will consider all the CB registered in the section DLLTH. So, all the
functions registered will be intercepted, and redirected to the implementation
in the main executable.
All the files "sanitizer_win_dll_thunk.cc" are independent, so we don't need to
include a specific list of sanitizers. Now, we compile: asan_win_dll_thunk.cc
ubsan_win_dll_thunk.cc, sanitizer_coverage_win_dll_thunk.cc and
sanitizer_win_dll_thunk.cc, to generate asan_dll_thunk, because we include asan,
ubsan and sanitizer coverage in the address sanitizer library.
Differential Revision: https://reviews.llvm.org/D29154
llvm-svn: 293951
2017-02-03 07:01:28 +08:00
|
|
|
if (WIN32)
|
[sanitizer] Use interception to access to strong definitions in the executable.
In Windows, when sanitizers are implemented as a shared library (DLL), users can
redefine and export a new definition for weak functions, in the main executable,
for example:
extern "C" __declspec(dllexport)
void __sanitizer_cov_trace_pc_guard(u32* guard) {
// Different implementation provided by the client.
}
However, other dlls, will continue using the default implementation imported
from the sanitizer dll. This is different in linux, where all the shared
libraries will consider the strong definition.
With the implementation in this diff, when the dll is initialized, it will check
if the main executable exports the definition for some weak function (for
example __sanitizer_cov_trace_pc_guard). If it finds that function, then it will
override the function in the dll with that pointer. So, all the dlls with
instrumentation that import __sanitizer_cov_trace_pc_guard__dll() from asan dll,
will be using the function provided by the main executable.
In other words, when the main executable exports a strong definition for a weak
function, we ensure all the dlls use that implementation instead of the default
weak implementation.
The behavior is similar to linux. Now, every user that want to override a weak
function, only has to define and export it. The same for Linux and Windows, and
it will work fine. So, there is no difference on the user's side.
All the sanitizers will include a file sanitizer_win_weak_interception.cc that
register sanitizer's weak functions to be intercepted in the binary section WEAK
When the sanitizer dll is initialized, it will execute weak_intercept_init()
which will consider all the CB registered in the section WEAK. So, for all the
weak functions registered, we will check if a strong definition is provided in
the main executable.
All the files sanitizer_win_weak_interception.cc are independent, so we do not
need to include a specific list of sanitizers.
Now, we include [asan|ubsan|sanitizer_coverage]_win_weak_interception.cc and
sanitizer_win_weak_interception.cc in asan dll, so when it is initialized, it
will consider all the weak functions from asan, ubsan and sanitizer coverage.
After this diff, sanitizer coverage is fixed for MD on Windows. In particular
libFuzzer can provide custom implementation for all sanitizer coverage's weak
functions, and they will be considered by asan dll.
Differential Revision: https://reviews.llvm.org/D29168
llvm-svn: 293958
2017-02-03 07:02:11 +08:00
|
|
|
add_compiler_rt_object_libraries(UbsanWeakInterception
|
|
|
|
${SANITIZER_COMMON_SUPPORTED_OS}
|
|
|
|
ARCHS ${UBSAN_SUPPORTED_ARCH}
|
|
|
|
SOURCES ubsan_win_weak_interception.cc
|
|
|
|
CFLAGS ${UBSAN_CFLAGS} -DSANITIZER_DYNAMIC
|
|
|
|
DEFS ${UBSAN_COMMON_DEFINITIONS})
|
|
|
|
|
[sanitizer] Split dll_thunks into different sanitizers.
When the sanitizer is implemented as a static library and is included in the
main executable, we need an auxiliary static library dll_thunk that will be
linked to the dlls that have instrumentation, so they can refer to the runtime
in the main executable. Basically, it uses interception to get a pointer the
function in the main executable and override its function with that pointer.
Before this diff, all of the implementation for dll_thunks was included in asan.
In this diff I split it into different sanitizers, so we can use other
sanitizers regardless of whether we include asan or not.
All the sanitizers include a file sanitizer_win_dll_thunk.cc that register
functions to be intercepted in the binary section: DLLTH
When the dll including dll_thunk is initialized, it will execute
__dll_thunk_init() implemented in: sanitizer_common/sanitizer_win_dll_thunk.cc,
which will consider all the CB registered in the section DLLTH. So, all the
functions registered will be intercepted, and redirected to the implementation
in the main executable.
All the files "sanitizer_win_dll_thunk.cc" are independent, so we don't need to
include a specific list of sanitizers. Now, we compile: asan_win_dll_thunk.cc
ubsan_win_dll_thunk.cc, sanitizer_coverage_win_dll_thunk.cc and
sanitizer_win_dll_thunk.cc, to generate asan_dll_thunk, because we include asan,
ubsan and sanitizer coverage in the address sanitizer library.
Differential Revision: https://reviews.llvm.org/D29154
llvm-svn: 293951
2017-02-03 07:01:28 +08:00
|
|
|
add_compiler_rt_object_libraries(UbsanDllThunk
|
|
|
|
${SANITIZER_COMMON_SUPPORTED_OS}
|
|
|
|
ARCHS ${UBSAN_SUPPORTED_ARCH}
|
|
|
|
SOURCES ubsan_win_dll_thunk.cc
|
|
|
|
CFLAGS ${UBSAN_CFLAGS} -DSANITIZER_DLL_THUNK
|
|
|
|
DEFS ${UBSAN_COMMON_DEFINITIONS})
|
[sanitizer] Add dynamic_runtime_thunk for different sanitizers.
In Windows, when the sanitizer is implemented as a shared library (DLL), we need
an auxiliary static library dynamic_runtime_thunk that will be linked to the
main executable and dlls.
In the sanitizer DLL, we are exposing weak functions with WIN_WEAK_EXPORT_DEF(),
which exports the default implementation with __dll suffix. For example: for
sanitizer coverage, the default implementation of __sanitizer_cov_trace_cmp is
exported as: __sanitizer_cov_trace_cmp__dll.
In the dynamic_runtime_thunk static library, we include weak aliases to the
imported implementation from the dll, using the macro WIN_WEAK_IMPORT_DEF().
By default, all users's programs that include calls to weak functions like
__sanitizer_cov_trace_cmp, will be redirected to the implementation in the dll,
when linking to dynamic_runtime_thunk.
After this diff, we are able to compile code with sanitizer coverage
instrumentation on Windows. When the instrumented object files are linked with
clang-rt_asan_dynamic_runtime_thunk-arch.lib all the weak symbols will be
resolved to the implementation imported from asan dll.
All the files sanitizer_dynamic_runtime_thunk.cc are independent, so we do not
need to include a specific list of sanitizers.
Now, we compile: [asan|ubsan|sanitizer_coverage]_win_dynamic_runtime_thunk.cc
and sanitizer_win_dynamic_runtime_thunk.cc to generate
asan_dynamic_runtime_thunk.lib, because we include asan, ubsan and sanitizer
coverage in the address sanitizer library.
Differential Revision: https://reviews.llvm.org/D29158
llvm-svn: 293953
2017-02-03 07:01:41 +08:00
|
|
|
|
|
|
|
set(DYNAMIC_RUNTIME_THUNK_CFLAGS "-DSANITIZER_DYNAMIC_RUNTIME_THUNK")
|
|
|
|
if(MSVC)
|
|
|
|
list(APPEND DYNAMIC_RUNTIME_THUNK_CFLAGS "-Zl")
|
|
|
|
elseif(CMAKE_C_COMPILER_ID MATCHES Clang)
|
|
|
|
list(APPEND DYNAMIC_RUNTIME_THUNK_CFLAGS "-nodefaultlibs")
|
|
|
|
endif()
|
|
|
|
add_compiler_rt_object_libraries(UbsanDynamicRuntimeThunk
|
|
|
|
${SANITIZER_COMMON_SUPPORTED_OS}
|
|
|
|
ARCHS ${UBSAN_SUPPORTED_ARCH}
|
|
|
|
SOURCES ubsan_win_dynamic_runtime_thunk.cc
|
|
|
|
CFLAGS ${UBSAN_CFLAGS} ${DYNAMIC_RUNTIME_THUNK_CFLAGS}
|
|
|
|
DEFS ${UBSAN_COMMON_DEFINITIONS})
|
[sanitizer] Split dll_thunks into different sanitizers.
When the sanitizer is implemented as a static library and is included in the
main executable, we need an auxiliary static library dll_thunk that will be
linked to the dlls that have instrumentation, so they can refer to the runtime
in the main executable. Basically, it uses interception to get a pointer the
function in the main executable and override its function with that pointer.
Before this diff, all of the implementation for dll_thunks was included in asan.
In this diff I split it into different sanitizers, so we can use other
sanitizers regardless of whether we include asan or not.
All the sanitizers include a file sanitizer_win_dll_thunk.cc that register
functions to be intercepted in the binary section: DLLTH
When the dll including dll_thunk is initialized, it will execute
__dll_thunk_init() implemented in: sanitizer_common/sanitizer_win_dll_thunk.cc,
which will consider all the CB registered in the section DLLTH. So, all the
functions registered will be intercepted, and redirected to the implementation
in the main executable.
All the files "sanitizer_win_dll_thunk.cc" are independent, so we don't need to
include a specific list of sanitizers. Now, we compile: asan_win_dll_thunk.cc
ubsan_win_dll_thunk.cc, sanitizer_coverage_win_dll_thunk.cc and
sanitizer_win_dll_thunk.cc, to generate asan_dll_thunk, because we include asan,
ubsan and sanitizer coverage in the address sanitizer library.
Differential Revision: https://reviews.llvm.org/D29154
llvm-svn: 293951
2017-02-03 07:01:28 +08:00
|
|
|
endif()
|
|
|
|
|
2015-04-02 07:00:02 +08:00
|
|
|
if(COMPILER_RT_HAS_UBSAN)
|
2015-06-11 07:55:07 +08:00
|
|
|
add_compiler_rt_object_libraries(RTUbsan_standalone
|
2015-06-19 11:39:24 +08:00
|
|
|
ARCHS ${UBSAN_SUPPORTED_ARCH}
|
2017-09-21 08:35:22 +08:00
|
|
|
SOURCES ${UBSAN_STANDALONE_SOURCES}
|
|
|
|
CFLAGS ${UBSAN_STANDALONE_CFLAGS})
|
2017-07-27 05:16:15 +08:00
|
|
|
|
2015-08-27 06:36:31 +08:00
|
|
|
# Standalone UBSan runtimes.
|
|
|
|
add_compiler_rt_runtime(clang_rt.ubsan_standalone
|
|
|
|
STATIC
|
|
|
|
ARCHS ${UBSAN_SUPPORTED_ARCH}
|
2017-09-21 08:35:22 +08:00
|
|
|
SOURCES ubsan_init_standalone_preinit.cc
|
2015-08-27 06:36:31 +08:00
|
|
|
OBJECT_LIBS RTSanitizerCommon
|
|
|
|
RTSanitizerCommonLibc
|
|
|
|
RTUbsan
|
2017-09-19 06:47:36 +08:00
|
|
|
RTUbsan_standalone
|
2017-09-23 10:47:11 +08:00
|
|
|
RTInterception
|
2015-08-27 06:36:31 +08:00
|
|
|
CFLAGS ${UBSAN_CFLAGS}
|
|
|
|
PARENT_TARGET ubsan)
|
2017-07-27 05:16:15 +08:00
|
|
|
|
2015-08-27 06:36:31 +08:00
|
|
|
add_compiler_rt_runtime(clang_rt.ubsan_standalone_cxx
|
|
|
|
STATIC
|
|
|
|
ARCHS ${UBSAN_SUPPORTED_ARCH}
|
|
|
|
OBJECT_LIBS RTUbsan_cxx
|
|
|
|
CFLAGS ${UBSAN_CXXFLAGS}
|
|
|
|
PARENT_TARGET ubsan)
|
2015-03-24 04:05:53 +08:00
|
|
|
|
2015-08-28 04:07:54 +08:00
|
|
|
if (UNIX)
|
2017-09-16 02:54:37 +08:00
|
|
|
add_compiler_rt_runtime(clang_rt.ubsan_standalone
|
|
|
|
SHARED
|
|
|
|
ARCHS ${UBSAN_SUPPORTED_ARCH}
|
|
|
|
OBJECT_LIBS RTSanitizerCommon
|
2017-09-21 08:35:22 +08:00
|
|
|
RTSanitizerCommonLibc
|
|
|
|
RTUbsan
|
|
|
|
RTUbsan_standalone
|
2017-09-23 10:47:11 +08:00
|
|
|
RTInterception
|
2017-09-16 02:54:37 +08:00
|
|
|
CFLAGS ${UBSAN_CFLAGS}
|
|
|
|
LINK_FLAGS ${SANITIZER_COMMON_LINK_FLAGS}
|
|
|
|
LINK_LIBS ${UBSAN_DYNAMIC_LIBS}
|
|
|
|
PARENT_TARGET ubsan)
|
|
|
|
|
|
|
|
add_compiler_rt_runtime(clang_rt.ubsan_standalone_cxx
|
|
|
|
SHARED
|
|
|
|
ARCHS ${UBSAN_SUPPORTED_ARCH}
|
|
|
|
OBJECT_LIBS RTSanitizerCommon
|
|
|
|
RTSanitizerCommonLibc
|
|
|
|
RTUbsan
|
|
|
|
RTUbsan_cxx
|
|
|
|
CFLAGS ${UBSAN_CXXFLAGS}
|
|
|
|
LINK_FLAGS ${SANITIZER_COMMON_LINK_FLAGS}
|
|
|
|
LINK_LIBS ${UBSAN_DYNAMIC_LIBS}
|
|
|
|
PARENT_TARGET ubsan)
|
|
|
|
|
2015-08-28 04:07:54 +08:00
|
|
|
set(ARCHS_FOR_SYMBOLS ${UBSAN_SUPPORTED_ARCH})
|
2017-08-29 04:30:12 +08:00
|
|
|
list(REMOVE_ITEM ARCHS_FOR_SYMBOLS i386)
|
2015-08-28 04:07:54 +08:00
|
|
|
add_sanitizer_rt_symbols(clang_rt.ubsan_standalone
|
|
|
|
ARCHS ${ARCHS_FOR_SYMBOLS}
|
|
|
|
PARENT_TARGET ubsan
|
|
|
|
EXTRA ubsan.syms.extra)
|
|
|
|
add_sanitizer_rt_symbols(clang_rt.ubsan_standalone_cxx
|
|
|
|
ARCHS ${ARCHS_FOR_SYMBOLS}
|
|
|
|
PARENT_TARGET ubsan
|
|
|
|
EXTRA ubsan.syms.extra)
|
|
|
|
endif()
|
2015-04-02 07:00:02 +08:00
|
|
|
endif()
|
2012-10-10 03:34:32 +08:00
|
|
|
endif()
|