llvm-6502/test/Archive
Reid Spencer 0f5aed5648 Make the llvm-runtest function much more amenable by eliminating all the
global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35918 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 19:56:59 +00:00
..
.cvsignore
dg.exp
evenlen
extract_GNU.ll
extract_MacOSX.ll
extract_SVR4.ll
extract_xpg4.ll
GNU.a
GNU.toc
IsNAN.o
MacOSX.a
MacOSX.toc
oddlen
ranlib_GNU.ll
ranlib_MacOSX.ll
ranlib_SVR4.ll
ranlib_xpg4.ll
README.txt
SVR4.a
SVR4.toc
toc_GNU.ll
toc_MacOSX.ll
toc_SVR4.ll
toc_xpg4.ll
very_long_bytecode_file_name.bc
xpg4.a
xpg4.toc

test/Regression/Archive
=======================

This directory contains various tests of llvm-ar and llvm-ranlib to ensure 
compatibility reading other ar(1) formats. It also provides a basic
functionality test for these tools.

There are four archives stored in CVS with these tests: 

GNU.a    - constructed on Linux with GNU ar
MacOSX.a - constructed on Mac OS X with its native BSD4.4 ar
SVR4.a   - constructed on Solaris with /usr/ccs/bin/ar
xpg4.a   - constructed on Solaris with /usr/xpg4/bin/ar

Each type of test is run on each of these archive files.  These archives each 
contain four members:

oddlen - a member with an odd lengthed name and content
evenlen - a member with an even lengthed name and content
IsNAN.o - a Linux native binary
very_long_bytecode_file_name.bc - LLVM bytecode file with really long name

These files test different aspects of the archiver that should cause failures
in llvm-ar if regressions are introduced.