[PATCH] D103539: WIP: try to repair RISCV handling of paired relocations

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 10 09:37:35 PDT 2021


compnerd updated this revision to Diff 351202.
compnerd added a comment.

3 failures left now.  KI:

- 6B relocations are not implemented
- debug_line references aren't correctly emitted

One thing to note is that this seems to improve the generation of the eh_frame, which is important for enabling relaxation without negatively impacting unwinding.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103539/new/

https://reviews.llvm.org/D103539

Files:
  llvm/include/llvm/MC/MCAsmBackend.h
  llvm/include/llvm/MC/MCFixup.h
  llvm/lib/MC/MCAsmBackend.cpp
  llvm/lib/MC/MCAssembler.cpp
  llvm/lib/MC/MCExpr.cpp
  llvm/lib/MC/MCObjectStreamer.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVFixupKinds.h
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
  llvm/test/CodeGen/RISCV/fixups-diff.ll
  llvm/test/CodeGen/RISCV/fixups-relax-diff.ll
  llvm/test/MC/RISCV/fde-reloc.s
  llvm/test/MC/RISCV/fixups-expr.s
  llvm/test/MC/RISCV/hilo-constaddr-expr.s
  llvm/test/MC/RISCV/scoped-relaxation.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103539.351202.patch
Type: text/x-patch
Size: 33826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210610/a9ebe42b/attachment.bin>


More information about the llvm-commits mailing list