HomePhabricator

ObjectFileELF: Add support for gnu-style compressed sections

Description

ObjectFileELF: Add support for gnu-style compressed sections

With this style, a compressed section is indicated by a "z" in the section
name, instead of a section header flag. This patch consists of two small tweaks:

  • use an llvm Decompressor method in order to properly detect compressed sections
  • make sure we recognise .zdebug_info (and friends) when classifying section types.

Details

Committed
labathJul 10 2019, 9:10 AM
Parents
rL365653: AMDGPU: Serialize mode from MachineFunctionInfo
Branches
Unknown
Tags
Unknown