This is an archive of the discontinued LLVM Phabricator instance.

[libc] add sprintf
ClosedPublic

Authored by michaelrj on May 13 2022, 11:15 AM.

Details

Summary

This adds the sprintf entrypoint, as well as unit tests. Currently
sprintf only supports %%, %s, and %c, but the other conversions are on
the way.

Diff Detail

Event Timeline

michaelrj created this revision.May 13 2022, 11:15 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 13 2022, 11:15 AM
michaelrj requested review of this revision.May 13 2022, 11:15 AM
michaelrj updated this revision to Diff 429384.May 13 2022, 4:28 PM

minor tweaks to various parts of the code

lntue accepted this revision.May 16 2022, 9:15 PM
This revision is now accepted and ready to land.May 16 2022, 9:15 PM
sivachandra accepted this revision.May 17 2022, 8:43 AM
This revision was automatically updated to reflect the committed changes.