This is an archive of the discontinued LLVM Phabricator instance.

[JITLink][AArch64] Unify table managers of ELF and MachO.
ClosedPublic

Authored by sunho on Jun 10 2022, 9:50 PM.

Details

Summary

Unifies GOT/PLT table managers of ELF and MachO on aarch64 architecture. Additionally, it migrates table managers from PerGraphGOTAndPLTStubsBuilder to generic crtp TableManager.

Diff Detail

Event Timeline

sunho created this revision.Jun 10 2022, 9:50 PM
sunho requested review of this revision.Jun 10 2022, 9:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2022, 9:50 PM
lhames accepted this revision.Jun 13 2022, 6:06 PM

This is a great refactor! Now we just need to move RISCV to TableManager and we can get rid of PerGraphGOTAndStubsBuilder altogether. :)

LGTM -- thanks @sunho!

This revision is now accepted and ready to land.Jun 13 2022, 6:06 PM
This revision was landed with ongoing or failed builds.Jun 13 2022, 9:17 PM
This revision was automatically updated to reflect the committed changes.
chapuni added inline comments.
llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
79

This is unused with -Asserts

sunho added inline comments.Jun 15 2022, 10:17 PM
llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
79

Thanks for letting me know. I'll fix it shortly.