[Clang][SME2] Enable multi-vector loads & stores for SME2 (#75821)
[llvm-project.git] / compiler-rt / lib / asan_abi / CMakeLists.txt
blobffb17eed5f71a6a46966aa947164db206831a496
1 # Build for the ASAN Stable ABI runtime support library.
2 set(ASAN_ABI_SOURCES
3   asan_abi_shim.cpp
4   )
6 set(ASAN_ABI_HEADERS
7   ../asan/asan_interface_internal.h
8   asan_abi.h
9   )
11 include_directories(..)
13 add_compiler_rt_component(asan_abi)
15 if (APPLE)
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
25     STATIC
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)
32 endif()