1 add_compiler_rt_component(cfi)
3 if(OS_NAME MATCHES "Linux" OR OS_NAME MATCHES "FreeBSD" OR OS_NAME MATCHES "NetBSD")
8 include_directories(..)
11 ${SANITIZER_COMMON_CFLAGS}
18 foreach(arch ${CFI_SUPPORTED_ARCH})
19 add_compiler_rt_runtime(clang_rt.cfi
22 SOURCES ${CFI_SOURCES}
23 OBJECT_LIBS RTInterception
28 add_compiler_rt_runtime(clang_rt.cfi_diag
31 SOURCES ${CFI_SOURCES}
32 OBJECT_LIBS RTInterception
35 RTSanitizerCommonCoverage
36 RTSanitizerCommonSymbolizer
38 CFLAGS ${CFI_CFLAGS} ${CFI_DIAG_CFLAGS}
43 add_compiler_rt_resource_file(cfi_blacklist cfi_blacklist.txt cfi)