[PATCH] D150004: [RISCV][MC] .debug_line/.debug_frame/.eh_frame: emit relocations for assembly input files with relaxation
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 11 08:08:00 PDT 2023
reames added a comment.
I decided to take a deeper look at this through the lens of the evaluateAbsoluteDiff approach, and unless I'm missing something, it does appear to work. I mocked up a patch (https://reviews.llvm.org/D150373). This looks like simply a bug in https://reviews.llvm.org/rGbbea64250f65480d787e1c5ff45c4de3ec2dcda8. Specifically, we are allowing folding of a subtract expression early as opposed to waiting until the relocations can be fully resolved. If we're going to resolve such expressions late, we need to be consistent about that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150004/new/
https://reviews.llvm.org/D150004
More information about the llvm-commits
mailing list