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
14 KiB
14 KiB