This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] LongJmp: Fix hot text section alignment
ClosedPublic

Authored by yota9 on Mar 15 2022, 12:24 PM.

Details

Summary

The BinaryEmitter uses opts::AlignText value to align the hot text
section. Also check that the opts::AlignText is at least
equal opts::AlignFunctions for the same reason, as described in D121392.

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei

Diff Detail

Event Timeline

yota9 created this revision.Mar 15 2022, 12:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 15 2022, 12:24 PM
Herald added a subscriber: ayermolo. · View Herald Transcript
yota9 requested review of this revision.Mar 15 2022, 12:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 15 2022, 12:24 PM
This revision is now accepted and ready to land.Mar 16 2022, 5:02 AM
This revision was automatically updated to reflect the committed changes.