[all-commits] [llvm/llvm-project] f5b539: [JITLink][RISCV] Ignore R_RISCV_RELAX and check R_...
Jonas Hahnfeld via All-commits
all-commits at lists.llvm.org
Wed Jul 6 09:09:49 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5b5398ebf7da1ab54f6793331bca8fbc3340f14
https://github.com/llvm/llvm-project/commit/f5b5398ebf7da1ab54f6793331bca8fbc3340f14
Author: Jonas Hahnfeld <hahnjo at hahnjo.de>
Date: 2022-07-06 (Wed, 06 Jul 2022)
Changed paths:
M llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
Log Message:
-----------
[JITLink][RISCV] Ignore R_RISCV_RELAX and check R_RISCV_ALIGN
It is fine to not implement and ignore linker relaxation for now, but
we need to check the alignment. Luckily, an alignment of only 2 bytes
is the most common case when interpreting C++ code in clang-repl, and
already guaranteed by the length of compressed instructions.
Differential Revision: https://reviews.llvm.org/D129159
More information about the All-commits
mailing list