[libc-commits] [PATCH] D159067: [libc] Include (v)s(n)printf in baremetal configs
Petr Hosek via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Aug 28 22:51:49 PDT 2023
phosek created this revision.
phosek added reviewers: sivachandra, michaelrj.
Herald added subscribers: libc-commits, luke, sunshaoce, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, abidh, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb.
Herald added projects: libc-project, All.
phosek requested review of this revision.
Herald added a subscriber: wangpc.
These are commonly used on baremetal targets. We disable float
support and other features to reduce the binary size. This would
ideally eventually be handled using the proposed config mechanism:
https://discourse.llvm.org/t/rfc-systematic-way-to-introduce-and-use-libc-config-options/72943
but for now we use a CMake conditional.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D159067
Files:
libc/config/baremetal/arm/entrypoints.txt
libc/config/baremetal/arm/headers.txt
libc/config/baremetal/riscv32/entrypoints.txt
libc/config/baremetal/riscv32/headers.txt
libc/src/stdio/CMakeLists.txt
libc/src/stdio/printf_core/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159067.554189.patch
Type: text/x-patch
Size: 3218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230829/a71322b6/attachment.bin>
More information about the libc-commits
mailing list