This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Add runtime functions required by freestanding environment
ClosedPublic

Authored by maksfb on Jul 5 2022, 8:49 PM.

Details

Summary

Compiler can generate calls to some functions implicitly, even under
constraints of freestanding environment. Make sure these functions are
available in our runtime objects.

Fixes test failures on some systems after https://reviews.llvm.org/D128960.

Diff Detail

Event Timeline

maksfb created this revision.Jul 5 2022, 8:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 5 2022, 8:49 PM
maksfb requested review of this revision.Jul 5 2022, 8:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 5 2022, 8:49 PM
yota9 accepted this revision.Jul 6 2022, 9:05 AM

Haha, so much time used nostdlib, but didn't read about such a behaviour, interesting. LGTM, thanks!

This revision is now accepted and ready to land.Jul 6 2022, 9:05 AM
maksfb updated this revision to Diff 442645.Jul 6 2022, 11:22 AM

clang-format

This revision was landed with ongoing or failed builds.Jul 6 2022, 11:22 AM
This revision was automatically updated to reflect the committed changes.