[all-commits] [llvm/llvm-project] d32719: [libc] Modular printf option (float only)
Daniel Thornburgh via All-commits
all-commits at lists.llvm.org
Tue Jul 29 14:31:35 PDT 2025
Branch: refs/heads/users/mysterymath/modular-printf/libc
Home: https://github.com/llvm/llvm-project
Commit: d32719ebaf6599427a2937138b48b7dbde29beaa
https://github.com/llvm/llvm-project/commit/d32719ebaf6599427a2937138b48b7dbde29beaa
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-07-29 (Tue, 29 Jul 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: 3288908d6742b1018afb596342817868f42ba673
https://github.com/llvm/llvm-project/commit/3288908d6742b1018afb596342817868f42ba673
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-07-29 (Tue, 29 Jul 2025)
Changed paths:
M libc/src/stdio/printf_core/vfprintf_internal.h
Log Message:
-----------
Fix missed SPLIT->MODULAR rename
Commit: d8329715cb566e363470c980f1909a66b6e93c56
https://github.com/llvm/llvm-project/commit/d8329715cb566e363470c980f1909a66b6e93c56
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-07-29 (Tue, 29 Jul 2025)
Changed paths:
M libc/src/stdio/printf_core/float_impl.cpp
Log Message:
-----------
Add missing file header
Commit: 68caf92b6582c1750a300d593a1e42f08755e863
https://github.com/llvm/llvm-project/commit/68caf92b6582c1750a300d593a1e42f08755e863
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-07-29 (Tue, 29 Jul 2025)
Changed paths:
M libc/src/stdio/printf_core/printf_main.h
Log Message:
-----------
Use LIBC_INLINE_ASM macro
Commit: 68f86ebccfcb4ddf9e060deb12257bdc74543d4d
https://github.com/llvm/llvm-project/commit/68f86ebccfcb4ddf9e060deb12257bdc74543d4d
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-07-29 (Tue, 29 Jul 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/c1de6d3bdbab...68f86ebccfcb
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