[libc-commits] [libc] [libc] Move baremetal write_to_stderr implementation to io.cpp (PR #86890)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Wed Mar 27 16:36:30 PDT 2024


petrhosek wrote:

> > > What was the reason we didn't put this in an `io.cpp` again?
> > 
> > 
> > I'm not sure if there's any particular reason, I think we could since this is not on the hot path?
> 
> Unsure if it matters that much since it's already behind `__llvm_libc_log_write` so it's not like it'll be inlined fully. Might be better to make it match `quick_build.cpp`.

Done

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


More information about the libc-commits mailing list