This is an archive of the discontinued LLVM Phabricator instance.

[libc][obvious] only include vector with malloc
ClosedPublic

Authored by michaelrj on Feb 10 2022, 11:17 AM.

Details

Summary

the vector class, due to being dynamically resized, needs malloc. This
fixes the build so that it only includes it when malloc should be
available.

Diff Detail

Event Timeline

michaelrj created this revision.Feb 10 2022, 11:17 AM
michaelrj requested review of this revision.Feb 10 2022, 11:17 AM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 10 2022, 11:17 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.