[libc-commits] [libc] [libc] Mark baremetal write_to_stderr as inline (PR #86890)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Mar 27 16:31:30 PDT 2024


jhuber6 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`.

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


More information about the libc-commits mailing list