[PATCH] D49678: [llvm-objcopy] Adding support for compressed DWARF debug sections.

Puyan Lotfi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 23 10:20:36 PDT 2018


plotfi created this revision.
plotfi added a reviewer: alexshap.
Herald added subscribers: llvm-commits, jakehehrlich, JDevlieghere, mgorny.

First attempt at compressing debug sections with zlib-gnu and zlib. Right now it seems to work fine with gcc generated sections.
Just want some overall design feedback.

This patch only adds support for compressing (--compress-debug-sections), will add --decompress-debug-sections in another patch.


Repository:
  rL LLVM

https://reviews.llvm.org/D49678

Files:
  include/llvm/Object/Compressor.h
  lib/Object/CMakeLists.txt
  lib/Object/Compressor.cpp
  tools/llvm-objcopy/ObjcopyOpts.td
  tools/llvm-objcopy/Object.cpp
  tools/llvm-objcopy/Object.h
  tools/llvm-objcopy/llvm-objcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49678.156814.patch
Type: text/x-patch
Size: 15098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180723/96c100c3/attachment.bin>


More information about the llvm-commits mailing list