This is an archive of the discontinued LLVM Phabricator instance.

[JITLink][RISCV] Add R_RISCV_LO12_S relocation support
ClosedPublic

Authored by StephenFan on Nov 15 2022, 6:36 AM.

Diff Detail

Event Timeline

StephenFan created this revision.Nov 15 2022, 6:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2022, 6:36 AM
StephenFan requested review of this revision.Nov 15 2022, 6:36 AM
Hahnfeld accepted this revision.Nov 15 2022, 11:18 AM

LGTM

Btw we should probably order the relocations according to their enum values. But that should be a follow-up patch, I can try to take a look next weekend. I also have the compressed relocations implemented, but I need to write tests for them...

This revision is now accepted and ready to land.Nov 15 2022, 11:18 AM
This revision was landed with ongoing or failed builds.Nov 16 2022, 3:50 AM
This revision was automatically updated to reflect the committed changes.

LGTM

Btw we should probably order the relocations according to their enum values. But that should be a follow-up patch, I can try to take a look next weekend. I also have the compressed relocations implemented, but I need to write tests for them...

Looking forward to it!