This is an archive of the discontinued LLVM Phabricator instance.

[libc] enable s(n)printf without fullbuild
ClosedPublic

Authored by michaelrj on Aug 15 2022, 11:53 AM.

Details

Summary

To use the FILE data structure, LLVM-libc must be in fullbuild mode
since it expects its own implementation. This means that (f)printf can't
be used without fullbuild, but s(n)printf only uses strings. This patch
adjusts the CMake to allow for this.

Diff Detail

Event Timeline

michaelrj created this revision.Aug 15 2022, 11:53 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 15 2022, 11:53 AM
michaelrj requested review of this revision.Aug 15 2022, 11:53 AM
sivachandra accepted this revision.Aug 15 2022, 11:59 AM
This revision is now accepted and ready to land.Aug 15 2022, 11:59 AM
lntue accepted this revision.Aug 15 2022, 12:11 PM
This revision was landed with ongoing or failed builds.Aug 15 2022, 1:45 PM
This revision was automatically updated to reflect the committed changes.