[PATCH] D20331: [llvm-mc] - Teach llvm-mc to generate compressed debug sections in zlib style.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 08:44:01 PDT 2016


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

Before this patch llvm-mc generated zlib-gnu styled sections. 
That means no SHF_COMPRESSED flag was set, magic 'zlib' signature
was used in combination with full size field. Sections were renamed to "*.z*".
This patch reimplements the compression style to zlib one as zlib-gnu looks
to be depricated everywhere atm.



http://reviews.llvm.org/D20331

Files:
  include/llvm/MC/MCContext.h
  include/llvm/MC/MCSectionELF.h
  lib/MC/ELFObjectWriter.cpp
  lib/MC/MCContext.cpp
  lib/MC/MCELFStreamer.cpp
  lib/MC/MCSectionELF.cpp
  test/MC/ELF/compression.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20331.57486.patch
Type: text/x-patch
Size: 9299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160517/b3fd90c0/attachment-0001.bin>


More information about the llvm-commits mailing list