1 # Build for the ASAN Stable ABI runtime support library.
7 ../asan/asan_interface_internal.h
11 include_directories(..)
13 add_compiler_rt_component(asan_abi)
16 # Compile Stable API sources into an object library.
17 add_compiler_rt_object_libraries(RTASAN_ABI
18 OS ${SANITIZER_COMMON_SUPPORTED_OS}
19 ARCHS ${ASAN_ABI_SUPPORTED_ARCH}
20 SOURCES ${ASAN_ABI_SOURCES}
21 ADDITIONAL_HEADERS ${ASAN_ABI_HEADERS}
22 CFLAGS ${SANITIZER_COMMON_CFLAGS})
24 add_compiler_rt_runtime(clang_rt.asan_abi
26 OS ${SANITIZER_COMMON_SUPPORTED_OS}
27 ARCHS ${ASAN_ABI_SUPPORTED_ARCH}
28 OBJECT_LIBS RTASAN_ABI
29 CFLAGS ${SANITIZER_COMMON_CFLAGS}
30 LINK_FLAGS ${WEAK_SYMBOL_LINK_FLAGS}
31 PARENT_TARGET asan_abi)