This is an archive of the discontinued LLVM Phabricator instance.

[JITLink][RISCV] fix the R_RISCV_BRANCH relocation's behavior
AbandonedPublic

Authored by fourdim on Jan 25 2022, 1:54 AM.

Details

Summary

This patch fixes the R_RISCV_BRANCH relocation as the original one will miss one bit when calculating the fixup value.
Moreover, clang format.

Diff Detail

Event Timeline

fourdim created this revision.Jan 25 2022, 1:54 AM
fourdim requested review of this revision.Jan 25 2022, 1:54 AM
fourdim edited the summary of this revision. (Show Details)Jan 25 2022, 1:55 AM
fourdim abandoned this revision.Jan 25 2022, 8:11 AM