[PATCH] D21731: fix bug 15393: invalid dwarf info on Win64

Jameson Nash via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 18:11:01 PST 2016


vtjnash updated this revision to Diff 78816.
vtjnash added a comment.

This updates the ref_addr_relocation test to have better coverage of the various combinations of DWARF versions and architectures. Because the debug info framework in LLVM expects that `.secrel32 .debug_info + offset` exists (and LLVM also tests that the debug info isn't using labels that would be supported everywhere: "test that we don't create useless labels"), this also makes that a real relocation type and handles the printing and parsing of it.


Repository:
  rL LLVM

https://reviews.llvm.org/D21731

Files:
  docs/Extensions.rst
  include/llvm/MC/MCStreamer.h
  include/llvm/MC/MCWinCOFFStreamer.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
  lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  lib/CodeGen/AsmPrinter/DIE.cpp
  lib/MC/MCAsmStreamer.cpp
  lib/MC/MCCodeView.cpp
  lib/MC/MCParser/COFFAsmParser.cpp
  lib/MC/MCStreamer.cpp
  lib/MC/WinCOFFStreamer.cpp
  test/DebugInfo/X86/ref_addr_relocation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21731.78816.patch
Type: text/x-patch
Size: 12425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161122/ed2a131e/attachment.bin>


More information about the llvm-commits mailing list