[all-commits] [llvm/llvm-project] 326bc1: [Object] Fix handling of large archive members

James Henderson via All-commits all-commits at lists.llvm.org
Wed Mar 11 03:47:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 326bc1da45b22110a11e0578022829a263ed4311
      https://github.com/llvm/llvm-project/commit/326bc1da45b22110a11e0578022829a263ed4311
  Author: James Henderson <james.henderson at sony.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M llvm/lib/Object/Archive.cpp
    A llvm/unittests/Object/ArchiveTest.cpp
    M llvm/unittests/Object/CMakeLists.txt

  Log Message:
  -----------
  [Object] Fix handling of large archive members

The archive library truncated the size of archive members whose size was
greater than max uint32_t. This patch fixes the issue and adds some unit
tests to verify.

Reviewed by: ruiu, MaskRay, grimar, rupprecht

Differential Revision: https://reviews.llvm.org/D75742




More information about the All-commits mailing list