[all-commits] [llvm/llvm-project] 7181c4: [llvm-objcopy] --compress-debug-sections: fix unin...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jul 24 22:19:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7181c4e10a215bde53d91456c3f22d74fd71fac1
      https://github.com/llvm/llvm-project/commit/7181c4e10a215bde53d91456c3f22d74fd71fac1
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-07-24 (Sun, 24 Jul 2022)

  Changed paths:
    M llvm/lib/ObjCopy/ELF/ELFObject.cpp
    M llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test

  Log Message:
  -----------
  [llvm-objcopy] --compress-debug-sections: fix uninitialized ch_reserved for Elf64_Chdr

ch_reserved is uninitialized and the output is not deterministic. Fix it.
Rewrite and improve compress-debug-sections-zlib.test.




More information about the All-commits mailing list