llvm-project/llvm/test/Object/archive-big-read-empty-with-freelist.test
Kai Luo c0d9e5a0a4 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
2023-03-06 16:33:27 +08:00

4 lines
169 B
Plaintext

## Test reading an empty archive with free list in it, should exit normally.
# RUN: llvm-ar tv %p/Inputs/aix-empty-big-archive-with-freelist.a 2>&1 \
# RUN: | count 0