[all-commits] [llvm/llvm-project] 52c615: [AIX] fixed llvm-ar can not read empty big archive...

diggerlin via All-commits all-commits at lists.llvm.org
Mon May 16 11:30:14 PDT 2022


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

  Changed paths:
    M llvm/include/llvm/Object/Archive.h
    M llvm/test/tools/llvm-ar/display-empty.test
    M llvm/test/tools/llvm-ar/full-path-option.test
    M llvm/test/tools/llvm-ar/quick-append.test
    M llvm/test/tools/llvm-lipo/create-archive-input.test
    M llvm/test/tools/llvm-size/archive.test

  Log Message:
  -----------
  [AIX] fixed llvm-ar can not read empty big archive correctly.

Summary:

llvm-ar can not read empty big archive correctly. it output error as
error: unable to load 'empty.a': truncated or malformed archive (characters in size field in archive member header are not all decimal numbers: '<bigaf>'

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




More information about the All-commits mailing list