[Clang] ensure mangled names are valid identifiers before being suggested in ifunc...
[llvm-project.git] / libc / fuzzing / stdio / CMakeLists.txt
blob8f89baa70200001af83ce11076549928da8046f9
1 add_libc_fuzzer(
2   printf_parser_fuzz
3   SRCS
4     printf_parser_fuzz.cpp
5   DEPENDS
6     libc.src.stdio.printf_core.parser
9 add_libc_fuzzer(
10   printf_float_conv_fuzz
11   NEED_MPFR
12   SRCS
13     printf_float_conv_fuzz.cpp
14   DEPENDS
15     libc.src.stdio.snprintf
16     libc.src.__support.FPUtil.fp_bits
19 if(LIBC_COMPILER_HAS_FIXED_POINT)
20   add_libc_fuzzer(
21     printf_fixed_conv_fuzz
22     NEED_MPFR
23     SRCS
24       printf_fixed_conv_fuzz.cpp
25     DEPENDS
26       libc.src.stdio.snprintf
27       libc.src.__support.fixed_point.fx_bits
28     COMPILE_OPTIONS
29       -ffixed-point # TODO: add -ffixed-point to fuzz tests automatically
30   )
31 endif()