This is an archive of the discontinued LLVM Phabricator instance.

[jitlink] add R_RISCV_BRANCH to jitlink
ClosedPublic

Authored by fourdim on Jan 3 2022, 8:15 PM.

Details

Summary

This patch supported the R_RISCV_BRANCH relocation.

Diff Detail

Event Timeline

fourdim created this revision.Jan 3 2022, 8:15 PM
fourdim requested review of this revision.Jan 3 2022, 8:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 3 2022, 8:15 PM
fourdim updated this revision to Diff 397787.Jan 5 2022, 10:18 PM

Add prefix for hexadecimal numeric.

fourdim updated this revision to Diff 397788.Jan 5 2022, 10:37 PM

Include the recent commits.

fourdim updated this revision to Diff 397789.Jan 5 2022, 10:49 PM

Include the recent commits.

fourdim updated this revision to Diff 397810.Jan 6 2022, 12:52 AM

Fix the behavior after extractBits function's update.

StephenFan added inline comments.
llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
167

More concise.

fourdim updated this revision to Diff 397833.Jan 6 2022, 3:02 AM

Address the comments.

lhames accepted this revision.Jan 13 2022, 6:27 PM

LGTM! Thanks very much @fourdim!

This revision is now accepted and ready to land.Jan 13 2022, 6:27 PM
fourdim updated this revision to Diff 399889.Jan 13 2022, 10:06 PM
fourdim marked an inline comment as done.

Include the recent commits.

This revision was automatically updated to reflect the committed changes.