[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
Thu Dec 15 19:24:31 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGbef10bf4e343: [AIX][BigArchive][NFC] Add test case that list members of archive with freeā€¦ (authored by lkail).

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.483413.patch
Type: text/x-patch
Size: 410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221216/2b6ed62c/attachment.bin>


More information about the llvm-commits mailing list