michaelrj-google wrote: Given what you're seeing, could you try a patch where you just move all of the printf_core code into headers without making any other changes? That might be the main thing making a difference. https://github.com/llvm/llvm-project/pull/111559