[all-commits] [llvm/llvm-project] d78a72: [AIX] Fixed malformed big archive when total archi...

diggerlin via All-commits all-commits at lists.llvm.org
Tue May 16 07:14:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d78a723743b29476c2827801fea6a3a4b29a5240
      https://github.com/llvm/llvm-project/commit/d78a723743b29476c2827801fea6a3a4b29a5240
  Author: zhijian <zhijian at ca.ibm.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M llvm/lib/Object/ArchiveWriter.cpp

  Log Message:
  -----------
  [AIX] Fixed malformed big archive when total archive file size is large than 4Gbytes

Summary:

1. we use the unsigned type for NextOffset,PrevOffset ,GlobalSymbolOffset , MemberTableSize, it will caused a malform big archive when the archive file size is large than 4G.
2. also fix a NFC comment on https://reviews.llvm.org/D142479#inline-1443927

Reviewers: James Henderson
Differential Revision: https://reviews.llvm.org/D150462




More information about the All-commits mailing list