This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Add test checking LP trampolines in multi-split
ClosedPublic

Authored by FPar on Aug 22 2022, 5:29 PM.

Details

Summary

This adds a test to verify that when splitting all blocks, landing pad
trampolines are inserted in all blocks.

Diff Detail

Event Timeline

FPar created this revision.Aug 22 2022, 5:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 22 2022, 5:29 PM
Herald added a subscriber: ayermolo. · View Herald Transcript
FPar requested review of this revision.Aug 22 2022, 5:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 22 2022, 5:29 PM

Do you expect this test to fail as it is in the stack?

FPar added a comment.Sep 6 2022, 12:49 PM

No. They work locally, so something must be different in the CI. I'll investigate.

FPar updated this revision to Diff 458594.Sep 7 2022, 4:20 PM

Pass -pie to clang to make sure trampolines are generated

maksfb accepted this revision.Sep 8 2022, 11:22 AM

LGTM

This revision is now accepted and ready to land.Sep 8 2022, 11:22 AM
This revision was automatically updated to reflect the committed changes.