[PATCH] D58335: [DebugInfo] Generate fixups as emitting DWARF .debug_frame/.eh_frame.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 17 15:45:51 PST 2019


HsiangKai created this revision.
HsiangKai added reviewers: aprantl, probinson, asb.
Herald added subscribers: jdoerfert, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar, aheejin, sbc100, javed.absar.
Herald added a project: LLVM.

It is necessary to generate fixups in .debug_frame or .eh_frame as
relaxation is enabled due to the address delta may be changed after
linking.

There is an opcode with 6-bits data in debug frame encoding. So, we
also need 6-bits fixup types.


Repository:
  rL LLVM

https://reviews.llvm.org/D58335

Files:
  include/llvm/MC/MCDwarf.h
  include/llvm/MC/MCFixup.h
  include/llvm/MC/MCFragment.h
  lib/MC/MCAsmBackend.cpp
  lib/MC/MCAssembler.cpp
  lib/MC/MCDwarf.cpp
  lib/MC/MCObjectStreamer.cpp
  lib/MC/WasmObjectWriter.cpp
  lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
  lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
  lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
  test/DebugInfo/RISCV/relax-debug-frame.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58335.187179.patch
Type: text/x-patch
Size: 17668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190217/f73ff9ef/attachment.bin>


More information about the llvm-commits mailing list