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

Puyan Lotfi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 17 13:35:45 PDT 2018


plotfi updated this revision to Diff 161313.
plotfi marked an inline comment as done.
plotfi added a comment.



- Trimmed down test to one .debug section
- Fixed bug where I was appending to Obj.sections while iterating over Obj.sections (compress and decompress functions in llvm-objcopy.cpp).
- added section not named .debug which tests that only .debug sections get compressed/decompressed.


Repository:
  rL LLVM

https://reviews.llvm.org/D49678

Files:
  include/llvm/Object/Compressor.h
  lib/Object/CMakeLists.txt
  lib/Object/Compressor.cpp
  test/tools/llvm-objcopy/Inputs/compress-debug-sections.yaml
  test/tools/llvm-objcopy/compress-and-decompress-debug-sections-error.test
  test/tools/llvm-objcopy/compress-debug-sections-invalid-format.test
  test/tools/llvm-objcopy/compress-debug-sections-zlib-gnu.test
  test/tools/llvm-objcopy/compress-debug-sections-zlib.test
  test/tools/llvm-objcopy/compress-debug-sections.test
  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.161313.patch
Type: text/x-patch
Size: 32050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180817/650454c0/attachment.bin>


More information about the llvm-commits mailing list