llvm-mos / llvm-mos-sdk

SDK for developing with the llvm-mos compiler
https://www.llvm-mos.org
Other
270 stars 56 forks source link

Base printf routines on one another #248

Closed mysterymath closed 10 months ago

mysterymath commented 10 months ago

There should only be one printf routine present given its size, but the inliner may inline the implementation into multiple different versions of the function. Explicitly basing the routines on one another discourages this.