[all-commits] [llvm/llvm-project] 91fef0: [ELF] Catch zlib deflateInit2 error

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed May 1 11:32:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91fef0013f2668d1dc0623ede21cf4048d9a733e
      https://github.com/llvm/llvm-project/commit/91fef0013f2668d1dc0623ede21cf4048d9a733e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-01 (Wed, 01 May 2024)

  Changed paths:
    M lld/ELF/OutputSections.cpp

  Log Message:
  -----------
  [ELF] Catch zlib deflateInit2 error

The function may return Z_MEM_ERROR or Z_STREAM_ERR. The former does not
have a good way of testing. The latter will be possible with a pending
change that allows setting the compression level, which will come with a
test.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list