1add_entrypoint_object( 2 atoi 3 SRCS 4 atoi.cpp 5 HDRS 6 atoi.h 7 DEPENDS 8 libc.src.__support.str_conv_utils 9) 10 11add_entrypoint_object( 12 atof 13 SRCS 14 atof.cpp 15 HDRS 16 atof.h 17 DEPENDS 18 libc.src.__support.str_conv_utils 19) 20 21add_entrypoint_object( 22 atol 23 SRCS 24 atol.cpp 25 HDRS 26 atol.h 27 DEPENDS 28 libc.src.__support.str_conv_utils 29) 30 31add_entrypoint_object( 32 atoll 33 SRCS 34 atoll.cpp 35 HDRS 36 atoll.h 37 DEPENDS 38 libc.src.__support.str_conv_utils 39) 40 41add_entrypoint_object( 42 strtof 43 SRCS 44 strtof.cpp 45 HDRS 46 strtof.h 47 DEPENDS 48 libc.src.__support.str_conv_utils 49) 50 51add_entrypoint_object( 52 strtod 53 SRCS 54 strtod.cpp 55 HDRS 56 strtod.h 57 DEPENDS 58 libc.src.__support.str_conv_utils 59) 60 61add_entrypoint_object( 62 strtol 63 SRCS 64 strtol.cpp 65 HDRS 66 strtol.h 67 DEPENDS 68 libc.src.__support.str_conv_utils 69) 70 71add_entrypoint_object( 72 strtoll 73 SRCS 74 strtoll.cpp 75 HDRS 76 strtoll.h 77 DEPENDS 78 libc.src.__support.str_conv_utils 79) 80 81add_entrypoint_object( 82 strtoul 83 SRCS 84 strtoul.cpp 85 HDRS 86 strtoul.h 87 DEPENDS 88 libc.src.__support.str_conv_utils 89) 90 91add_entrypoint_object( 92 strtoull 93 SRCS 94 strtoull.cpp 95 HDRS 96 strtoull.h 97 DEPENDS 98 libc.src.__support.str_conv_utils 99) 100 101add_entrypoint_object( 102 abs 103 SRCS 104 abs.cpp 105 HDRS 106 abs.h 107 DEPENDS 108 libc.src.__support.integer_operations 109) 110 111add_entrypoint_object( 112 labs 113 SRCS 114 labs.cpp 115 HDRS 116 labs.h 117 DEPENDS 118 libc.src.__support.integer_operations 119) 120 121add_entrypoint_object( 122 llabs 123 SRCS 124 llabs.cpp 125 HDRS 126 llabs.h 127 DEPENDS 128 libc.src.__support.integer_operations 129) 130 131add_entrypoint_object( 132 div 133 SRCS 134 div.cpp 135 HDRS 136 div.h 137 DEPENDS 138 libc.include.stdlib 139 libc.src.__support.integer_operations 140) 141 142add_entrypoint_object( 143 ldiv 144 SRCS 145 ldiv.cpp 146 HDRS 147 ldiv.h 148 DEPENDS 149 libc.include.stdlib 150 libc.src.__support.integer_operations 151) 152 153add_entrypoint_object( 154 lldiv 155 SRCS 156 lldiv.cpp 157 HDRS 158 lldiv.h 159 DEPENDS 160 libc.include.stdlib 161 libc.src.__support.integer_operations 162) 163 164add_entrypoint_object( 165 bsearch 166 SRCS 167 bsearch.cpp 168 HDRS 169 bsearch.h 170 DEPENDS 171 libc.include.stdlib 172) 173 174add_entrypoint_object( 175 qsort 176 SRCS 177 qsort.cpp 178 HDRS 179 qsort.h 180 DEPENDS 181 libc.include.stdlib 182) 183 184if(NOT LLVM_LIBC_FULL_BUILD) 185 return() 186endif() 187 188if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS}) 189 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS}) 190endif() 191 192add_entrypoint_object( 193 _Exit 194 ALIAS 195 DEPENDS 196 .${LIBC_TARGET_OS}._Exit 197) 198 199add_entrypoint_object( 200 abort 201 SRCS 202 abort.cpp 203 HDRS 204 abort.h 205 DEPENDS 206 libc.include.stdlib 207 libc.src.signal.raise 208 ._Exit 209) 210