This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC][AIX] Override markFunctionEnd()
ClosedPublic

Authored by sfertile on Jan 11 2022, 10:07 AM.

Details

Summary

During fast-isel calling 'markFunctionEnd' in the base class will call tidyLandingPads. This can cause an issue where we have determined that we need ehinfo and emitted a traceback table with the bits set to indicate that we will be emitting the ehinfo, but the tidying deletes all landing pads. In this case we end up emitting a reference to __ehinfo.N symbol, but not emitting a definition to said symbol and the resulting file fails to assemble.

Diff Detail

Event Timeline

sfertile created this revision.Jan 11 2022, 10:07 AM
sfertile requested review of this revision.Jan 11 2022, 10:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 11 2022, 10:07 AM
sfertile updated this revision to Diff 401692.Jan 20 2022, 10:41 AM

Fixed formatting.

xingxue accepted this revision.Jan 24 2022, 10:42 AM

LGTM; thanks!

This revision is now accepted and ready to land.Jan 24 2022, 10:42 AM
This revision was automatically updated to reflect the committed changes.