This is an archive of the discontinued LLVM Phabricator instance.

[Object] Support LoongArch in RelocationResolver
ClosedPublic

Authored by xen0n on Aug 17 2022, 2:53 AM.

Details

Summary

Similar to the RISCV logic added in D62062.

With this patch applied, llvm-dwarfdump works on existing LoongArch
object files, but generation of debuginfo on LoongArch is still pending
on proper support for relocations, so no test cases this time. They will
come later.

Diff Detail

Event Timeline

xen0n created this revision.Aug 17 2022, 2:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2022, 2:53 AM
xen0n requested review of this revision.Aug 17 2022, 2:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2022, 2:53 AM
xen0n edited the summary of this revision. (Show Details)Aug 17 2022, 2:59 AM
xen0n updated this revision to Diff 454390.Aug 21 2022, 11:28 PM

rebase and simplify code

This revision is now accepted and ready to land.Aug 24 2022, 1:22 AM
This revision was landed with ongoing or failed builds.Aug 25 2022, 9:10 PM
This revision was automatically updated to reflect the committed changes.