[all-commits] [llvm/llvm-project] 7b00de: [libc] Modular printf option (float only)
Daniel Thornburgh via All-commits
all-commits at lists.llvm.org
Tue Aug 26 11:19:11 PDT 2025
Branch: refs/heads/users/mysterymath/modular-printf/libc
Home: https://github.com/llvm/llvm-project
Commit: 7b00de617f4cb51e9c529faf66b28299f921965a
https://github.com/llvm/llvm-project/commit/7b00de617f4cb51e9c529faf66b28299f921965a
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-08-26 (Tue, 26 Aug 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: 9da60cb30b04866067313d3d112763df92912bec
https://github.com/llvm/llvm-project/commit/9da60cb30b04866067313d3d112763df92912bec
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-08-26 (Tue, 26 Aug 2025)
Changed paths:
M libc/src/stdio/printf_core/vfprintf_internal.h
Log Message:
-----------
Fix missed SPLIT->MODULAR rename
Commit: 83f4f5062c66e15f76051173147ab526af17a26c
https://github.com/llvm/llvm-project/commit/83f4f5062c66e15f76051173147ab526af17a26c
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-08-26 (Tue, 26 Aug 2025)
Changed paths:
M libc/src/stdio/printf_core/float_impl.cpp
Log Message:
-----------
Add missing file header
Commit: b0726fc6a08c17fd6b14f64cdf60d8fdda93b65d
https://github.com/llvm/llvm-project/commit/b0726fc6a08c17fd6b14f64cdf60d8fdda93b65d
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-08-26 (Tue, 26 Aug 2025)
Changed paths:
M libc/src/stdio/printf_core/printf_main.h
Log Message:
-----------
Use LIBC_INLINE_ASM macro
Commit: ab4b135be440831e6cbf8d193b5ec6730f7830d3
https://github.com/llvm/llvm-project/commit/ab4b135be440831e6cbf8d193b5ec6730f7830d3
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-08-26 (Tue, 26 Aug 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/bb4a9036cf96...ab4b135be440
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