This is an archive of the discontinued LLVM Phabricator instance.

[IR][NFC] Rename getBaseObject to getAliaseeObject
ClosedPublic

Authored by ibookstein on Sep 24 2021, 3:58 AM.

Details

Summary

To better reflect the meaning of the now-disambiguated
{GlobalValue, GlobalAlias}::getBaseObject after breaking off
GlobalIFunc::getResolverFunction, the function is renamed to
getAliaseeObject.

Diff Detail

Event Timeline

ibookstein created this revision.Sep 24 2021, 3:58 AM
ibookstein requested review of this revision.Sep 24 2021, 3:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 24 2021, 3:58 AM

Renamed one additional straggler in clang, removed trailing whitespace elimination hunks.

MaskRay accepted this revision.Sep 24 2021, 9:00 AM
This revision is now accepted and ready to land.Sep 24 2021, 9:00 AM

Might I ask that you commit this on my behalf? Got no commit access :)
(I think the test failures are unrelated, they complain about missing file llvm-jitlink o_O)

Author: Itay Bookstein <ibookstein@gmail.com>

Will push next Monday

Sorry that I forgot to push this last Monday. I was then out of town for one week and was just back.

Pushed on your behalf. I checked some large users like Julia/Rust/Swift and many other downstream users and confirmed that none uses the API, so I don't consider adding a compatibility alias.

MaskRay closed this revision.Oct 6 2021, 7:35 PM

Closed by 40ec1c0f16cb23f8b83fb3d28b195e83991defd9

Forgot to attach Differential Revision: