47 lines · plain
1add_libc_fuzzer(2 uint_fuzz3 SRCS4 uint_fuzz.cpp5 DEPENDS6 libc.src.__support.big_int7)8 9add_libc_fuzzer(10 hashtable_fuzz11 SRCS12 hashtable_fuzz.cpp13 DEPENDS14 libc.src.__support.HashTable.table15)16 17add_libc_fuzzer(18 hashtable_opt_fuzz19 SRCS20 hashtable_fuzz.cpp21 DEPENDS22 libc.hdr.types.ENTRY23 libc.src.__support.HashTable.table24 COMPILE_OPTIONS25 -D__LIBC_EXPLICIT_SIMD_OPT26)27 28# TODO: FreeListHeap uses the _end symbol which conflicts with the _end symbol29# defined by GPU start.cpp files so for now we exclude this fuzzer on GPU.30if(LLVM_LIBC_FULL_BUILD AND NOT LIBC_TARGET_OS_IS_GPU)31 add_libc_fuzzer(32 freelist_heap_fuzz33 SRCS34 freelist_heap_fuzz.cpp35 DEPENDS36 libc.src.__support.freelist_heap37 )38 # TODO(#119995): Remove this once sccache on Windows no longer requires39 # the use of -DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded.40 get_fq_target_name(freelist_heap_fuzz freelist_heap_fuzz_target_name)41 set_target_properties(42 ${freelist_heap_fuzz_target_name}43 PROPERTIES44 MSVC_DEBUG_INFORMATION_FORMAT ""45 )46endif()47