[PATCH] D20470: [llvm-dwarfdump] - Teach dwarfdump to decompress debug sections in zlib style.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 07:55:21 PDT 2016


grimar created this revision.
grimar added reviewers: rafael, davide, dblaikie.
grimar added subscribers: llvm-commits, grimar.

Before this llvm-dwarfdump only recognized zlib-gnu compression style of headers,
this patch adds support for zlib style. 
It looks reasonable to support both styles for dumping,
even if are not going to suport generating of depricated gnu one.

http://reviews.llvm.org/D20470

Files:
  include/llvm/Object/COFF.h
  include/llvm/Object/ELFObjectFile.h
  include/llvm/Object/MachO.h
  include/llvm/Object/ObjectFile.h
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/Object/COFFObjectFile.cpp
  lib/Object/MachOObjectFile.cpp
  test/DebugInfo/Inputs/dwarfdump-test-zlib.cc
  test/DebugInfo/Inputs/dwarfdump-test-zlib.elf-x86-64
  test/DebugInfo/Inputs/dwarfdump-test-zlibgnu.elf-x86-64
  test/DebugInfo/dwarfdump-zlib.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20470.57931.patch
Type: text/x-patch
Size: 9612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160520/10c0ed03/attachment-0001.bin>


More information about the llvm-commits mailing list