This is an archive of the discontinued LLVM Phabricator instance.

[XCOFF] Handle the case when personality routine is an alias
ClosedPublic

Authored by jasonliu on Apr 27 2021, 2:39 PM.

Details

Summary

Personality routine could be an alias to another personality routine.
Fix the situation when we compile the file that contains the personality routine and the file also have functions that need to refer to the personality routine.

Diff Detail

Event Timeline

jasonliu created this revision.Apr 27 2021, 2:39 PM
jasonliu requested review of this revision.Apr 27 2021, 2:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2021, 2:39 PM
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
2147–2149

Why remove the const?

llvm/test/CodeGen/PowerPC/aix-personality-alias.ll
49–56

Nit: Can we try to keep the alignment? Same below.

jasonliu updated this revision to Diff 341529.Apr 29 2021, 8:33 AM
jasonliu marked 2 inline comments as done.

Address comments.

This revision is now accepted and ready to land.Apr 29 2021, 10:36 AM
This revision was landed with ongoing or failed builds.Apr 29 2021, 3:03 PM
This revision was automatically updated to reflect the committed changes.