[all-commits] [llvm/llvm-project] 5498b2: [libc] Modular printf option (float only)
Daniel Thornburgh via All-commits
all-commits at lists.llvm.org
Tue Sep 2 15:25:54 PDT 2025
Branch: refs/heads/users/mysterymath/modular-printf/libc
Home: https://github.com/llvm/llvm-project
Commit: 5498b26a5ac6f98042573ff254d12379ca2d677c
https://github.com/llvm/llvm-project/commit/5498b26a5ac6f98042573ff254d12379ca2d677c
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-09-02 (Tue, 02 Sep 2025)
Changed paths:
M libc/config/config.json
M libc/docs/configure.rst
M libc/src/stdio/generic/CMakeLists.txt
A libc/src/stdio/generic/printf_modular.cpp
M libc/src/stdio/printf.h
M libc/src/stdio/printf_core/CMakeLists.txt
M libc/src/stdio/printf_core/float_dec_converter.h
M libc/src/stdio/printf_core/float_dec_converter_limited.h
M libc/src/stdio/printf_core/float_hex_converter.h
A libc/src/stdio/printf_core/float_impl.cpp
M libc/src/stdio/printf_core/parser.h
M libc/src/stdio/printf_core/printf_config.h
M libc/src/stdio/printf_core/printf_main.h
M libc/src/stdio/printf_core/vfprintf_internal.h
Log Message:
-----------
[libc] Modular printf option (float only)
This adds LIBC_CONF_PRINTF_MODULAR, which causes floating point support
(later, others) to be weakly linked into the implementation.
__printf_modular becomes the main entry point of the implementaiton, an
printf itself wraps __printf_modular. printf it also contains a
BFD_RELOC_NONE relocation to bring in the float aspect.
See issue #146159 for context.
Commit: 662a265f4d064b90c00601cdfa657254f8948660
https://github.com/llvm/llvm-project/commit/662a265f4d064b90c00601cdfa657254f8948660
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-09-02 (Tue, 02 Sep 2025)
Changed paths:
M libc/src/stdio/printf_core/vfprintf_internal.h
Log Message:
-----------
Fix missed SPLIT->MODULAR rename
Commit: 191b1dda574a141fabc5fbfc7aad6083f52daf83
https://github.com/llvm/llvm-project/commit/191b1dda574a141fabc5fbfc7aad6083f52daf83
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-09-02 (Tue, 02 Sep 2025)
Changed paths:
M libc/src/stdio/printf_core/float_impl.cpp
Log Message:
-----------
Add missing file header
Commit: 05a3088190231ef48cb93434d77e5d139d049813
https://github.com/llvm/llvm-project/commit/05a3088190231ef48cb93434d77e5d139d049813
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-09-02 (Tue, 02 Sep 2025)
Changed paths:
M libc/src/stdio/printf_core/printf_main.h
Log Message:
-----------
Use LIBC_INLINE_ASM macro
Commit: 40cbed774962681fa25460c8950f70fbf8547c44
https://github.com/llvm/llvm-project/commit/40cbed774962681fa25460c8950f70fbf8547c44
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-09-02 (Tue, 02 Sep 2025)
Changed paths:
M libc/src/stdio/printf_core/float_dec_converter.h
M libc/src/stdio/printf_core/float_dec_converter_limited.h
M libc/src/stdio/printf_core/float_hex_converter.h
M libc/src/stdio/printf_core/parser.h
Log Message:
-----------
LIBC_INLINE for modular fn definitions
Compare: https://github.com/llvm/llvm-project/compare/bc4ad41730b3...40cbed774962
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list