[all-commits] [llvm/llvm-project] a7ac20: [MC] Remove unneeded zlib opt-out for .debug_frame

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Mar 11 13:32:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7ac200fd0c509ca89a294c5f08e456a081ceac0
      https://github.com/llvm/llvm-project/commit/a7ac200fd0c509ca89a294c5f08e456a081ceac0
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M llvm/lib/MC/ELFObjectWriter.cpp

  Log Message:
  -----------
  [MC] Remove unneeded zlib opt-out for .debug_frame

The opt-out from rL236267 (2015) is untested and seems no longer needed (or not
needed when rL236267 was committed): there is nothing special with uncompressed
alignment. This brings us in line with GCC which compresses .debug_frame .

Checked that -g -fno-asynchronous-unwind-tables + objcopy
--decompress-debug-sections output is identical to -g
-fno-asynchronous-unwind-tables -gz + objcopy --decompress-debug-sections
output.




More information about the All-commits mailing list