[all-commits] [llvm/llvm-project] 16dc90: [JITLink][RISCV] Refactor range checking and align...

fourdim via All-commits all-commits at lists.llvm.org
Wed Mar 9 06:14:17 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16dc90cbe7f440a2f2ca25a02de7793f04cb7dfc
      https://github.com/llvm/llvm-project/commit/16dc90cbe7f440a2f2ca25a02de7793f04cb7dfc
  Author: fourdim <fourdim at foxmail.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
    M llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
    M llvm/lib/ExecutionEngine/JITLink/JITLink.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list