[JITLink][RISCV] Refactor range checking and alignment checking
This patch refactors the range checking function to make it compatible with all relocation types and supports range checking for R_RISCV_BRANCH. Moreover, it refactors the alignment check functions. Reviewed By: StephenFan Differential Revision: https://reviews.llvm.org/D117946
Loading
Please sign in to comment