JITLink for RISC-V does not implement linker relaxation and until now
only ignored the related alignment relocations. However, the logic has
a flaw and it is actually not valid to ignore them. Just disable the
feature to have less problems.
Details
Details
- Reviewers
v.g.vassilev sgraenitz lhames StephenFan
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This looks reasonable to me. Is there a way we could check when +relax start working to remember to re-add this feature?
clang/lib/Interpreter/IncrementalExecutor.cpp | ||
---|---|---|
46 | Can you add a comment here why we skip this feature? This change does not seem riscv-specific. Is that intentional? |
Comment Actions
Linker relaxation and proper alignment handling for RISC-V is implemented in https://reviews.llvm.org/D149526, so this isn't needed anymore.
Can you add a comment here why we skip this feature?
This change does not seem riscv-specific. Is that intentional?