llvm-capstone/libc
Guillaume Chatelet b555912e70 [libc] Better IntegerToString API
This patch is an alternative to D155902. It provides the following benefits:
 - No buffer manual allocation and error handling for the general case
 - More flexible API : width specifier, sign and prefix handling
 - Simpler code

The more flexible API removes the need for manually tweaking the buffer afterwards, and so prevents relying on implementation details of IntegerToString.

Reviewed By: michaelrj, jhuber6

Differential Revision: https://reviews.llvm.org/D156981
2023-08-09 07:33:29 +00:00
..
AOR_v20.02
benchmarks [test][libc] Fix aligned_alloc argument 2023-08-07 16:36:20 -07:00
cmake/modules [libc] Make add_libc_unittest compile with -ffreestanding 2023-08-09 07:31:59 +00:00
config [libc] Add v variants of printf functions 2023-08-04 14:50:24 -07:00
docs [libc][doc] Update macros documentation 2023-08-08 08:02:30 +00:00
examples
fuzzing [libc] Set min precision for strtofloat fuzz 2023-07-18 16:28:22 -07:00
include [libc] Add v variants of printf functions 2023-08-04 14:50:24 -07:00
lib
spec [libc] Add v variants of printf functions 2023-08-04 14:50:24 -07:00
src [libc] Better IntegerToString API 2023-08-09 07:33:29 +00:00
startup [libc][cleanup] Fix most conversion warnings 2023-08-07 15:03:01 -07:00
test [libc] Better IntegerToString API 2023-08-09 07:33:29 +00:00
utils [libc] Add support for the 'fread' function on the GPU 2023-07-26 13:51:35 -05:00
.clang-tidy
.gitignore
CMakeLists.txt [libc] _INCLUDE_SCUDO: check for compiler-rt in enabled RUNTIMES too 2023-07-27 05:11:54 +01:00
common_libc_tuners.cmake
LICENSE.TXT
README.txt

LLVM libc
=========

This directory and its subdirectories contain source code for llvm-libc,
a retargetable implementation of the C standard library.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.