[libc-commits] [libc] [libc] Change default behaviour of baremetal/printf to use stdout (PR #143703)
Petr Hosek via libc-commits
libc-commits at lists.llvm.org
Mon Jun 16 11:13:08 PDT 2025
petrhosek wrote:
Thanks for the comprehensive answer! Looking through the codebase we seem to be using both `constexpr` and `static constexpr`. I'd also argue that for the baremetal configuration reducing binary size is more important than saving a stack slot (using `static constexpr` will place the object in `.rodata` section) but I also doubt anyone would be using the unoptimized build so this is mostly theoretical.
https://github.com/llvm/llvm-project/pull/143703
More information about the libc-commits
mailing list