[libc-commits] [libc] [libc] Migrate from baremetal stdio.h to generic stdio.h (PR #152748)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Mon Sep 1 13:02:35 PDT 2025


petrhosek wrote:

I apologize about the belated response, I was out when this was posted and somehow missed this change and I just noticed it while investigating builder breakage on our side. I'd like to request a revert given that this change broke all our builders.

This change introduces additional overhead, every operation now has to go through an indirect function call. Using global constructors is also undesirable for many embedded projects. I'll write a longer response on https://discourse.llvm.org/t/rfc-implementation-of-stdio-on-baremetal/86944, but I don't think it's acceptable to merge a major change like this without a broader consensus.

https://github.com/llvm/llvm-project/pull/152748


More information about the libc-commits mailing list