[PATCH] D138985: [AIX][BigArchive][NFC] Add test case that list members of archive with free list in it

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 11 18:20:39 PST 2022


lkail updated this revision to Diff 481965.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138985/new/

https://reviews.llvm.org/D138985

Files:
  llvm/test/Object/Inputs/aix-empty-big-archive-with-freelist.a
  llvm/test/Object/archive-big-read-empty-with-freelist.test


Index: llvm/test/Object/archive-big-read-empty-with-freelist.test
===================================================================
--- /dev/null
+++ llvm/test/Object/archive-big-read-empty-with-freelist.test
@@ -0,0 +1,3 @@
+# Test reading an empty archive with free list in it.
+# RUN: not llvm-ar tv %p/Inputs/aix-empty-big-archive-with-freelist.a 2>&1 \
+# RUN:   | grep 'truncated or malformed archive'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138985.481965.patch
Type: text/x-patch
Size: 410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221212/79f517e3/attachment.bin>


More information about the llvm-commits mailing list