[all-commits] [llvm/llvm-project] c0d9e5: Reland [AIX][BigArchive] Treat the archive is empt...

bzEq via All-commits all-commits at lists.llvm.org
Mon Mar 6 00:33:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0d9e5a0a4b80b0740282649ea32b0422e45e9ee
      https://github.com/llvm/llvm-project/commit/c0d9e5a0a4b80b0740282649ea32b0422e45e9ee
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M llvm/include/llvm/Object/Archive.h
    M llvm/lib/Object/Archive.cpp
    A llvm/test/Object/archive-big-malformed-first-member.test
    M llvm/test/Object/archive-big-read-empty-with-freelist.test

  Log Message:
  -----------
  Reland [AIX][BigArchive] Treat the archive is empty if the first child member offset is zero

If the archive contains free list and contains no member file, the buffer length doesn't equal to length of the header.

Reviewed By: Esme, DiggerLin, #powerpc

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




More information about the All-commits mailing list