1 if(LIBC_CONF_PRINTF_DISABLE_FLOAT)
2 list(APPEND printf_config_copts "-DLIBC_COPT_PRINTF_DISABLE_FLOAT")
4 if(LIBC_CONF_PRINTF_DISABLE_INDEX_MODE)
5 list(APPEND printf_config_copts "-DLIBC_COPT_PRINTF_DISABLE_INDEX_MODE")
7 if(LIBC_CONF_PRINTF_DISABLE_WRITE_INT)
8 list(APPEND printf_config_copts "-DLIBC_COPT_PRINTF_DISABLE_WRITE_INT")
10 if(LIBC_CONF_PRINTF_FLOAT_TO_STR_USE_MEGA_LONG_DOUBLE_TABLE)
11 list(APPEND printf_config_copts "-DLIBC_COPT_FLOAT_TO_STR_USE_MEGA_LONG_DOUBLE_TABLE")
13 if(LIBC_CONF_PRINTF_FLOAT_TO_STR_USE_DYADIC_FLOAT)
14 list(APPEND printf_config_copts "-DLIBC_COPT_FLOAT_TO_STR_USE_DYADIC_FLOAT")
16 if(LIBC_CONF_PRINTF_FLOAT_TO_STR_NO_SPECIALIZE_LD)
17 list(APPEND printf_config_copts "-DLIBC_COPT_FLOAT_TO_STR_NO_SPECIALIZE_LD")
19 if(LIBC_CONF_PRINTF_DISABLE_FIXED_POINT)
20 list(APPEND printf_config_copts "-DLIBC_COPT_PRINTF_DISABLE_FIXED_POINT")
22 if(LIBC_CONF_PRINTF_DISABLE_STRERROR)
23 list(APPEND printf_config_copts "-DLIBC_COPT_PRINTF_DISABLE_STRERROR")
25 if(printf_config_copts)
26 list(PREPEND printf_config_copts "COMPILE_OPTIONS")
33 ${printf_config_copts}
41 libc.src.__support.CPP.string_view
42 libc.src.__support.FPUtil.fp_bits
51 libc.src.__support.arg_list
52 libc.src.__support.ctype_utils
53 libc.src.__support.str_to_integer
54 libc.src.__support.CPP.algorithm
55 libc.src.__support.CPP.bit
56 libc.src.__support.CPP.optional
57 libc.src.__support.CPP.string_view
58 libc.src.__support.CPP.type_traits
59 libc.src.__support.common
70 libc.src.__support.CPP.string_view
71 libc.src.__support.macros.optimization
72 libc.src.string.memory_utils.inline_memcpy
73 libc.src.string.memory_utils.inline_memset
89 float_inf_nan_converter.h
92 fixed_converter.h #TODO: Check if this should be disabled when fixed unavail
98 libc.src.__support.big_int
99 libc.src.__support.common
100 libc.src.__support.CPP.limits
101 libc.src.__support.CPP.span
102 libc.src.__support.CPP.string_view
103 libc.src.__support.float_to_string
104 libc.src.__support.FPUtil.fenv_impl
105 libc.src.__support.FPUtil.fp_bits
106 libc.src.__support.FPUtil.rounding_mode
107 libc.src.__support.integer_to_string
108 libc.src.__support.libc_assert
109 libc.src.__support.uint128
110 libc.src.__support.StringUtil.error_to_string
124 libc.src.__support.arg_list
134 libc.hdr.func.realloc
135 libc.src.__support.arg_list
136 libc.src.stdio.printf_core.printf_main
137 libc.src.stdio.printf_core.writer
140 if(NOT (TARGET libc.src.__support.File.file) AND LLVM_LIBC_FULL_BUILD)
141 # Not all platforms have a file implementation. If file is unvailable, and a
142 # full build is requested, then we must skip all file based printf sections.
151 libc.src.__support.File.file
152 libc.src.__support.arg_list
153 libc.src.stdio.printf_core.printf_main
154 libc.src.stdio.printf_core.writer