• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1test/Regression/Archive
2=======================
3
4This directory contains various tests of llvm-ar and llvm-ranlib to ensure
5compatibility reading other ar(1) formats. It also provides a basic
6functionality test for these tools.
7
8There are four archives accompanying these tests:
9
10GNU.a    - constructed on Linux with GNU ar
11MacOSX.a - constructed on Mac OS X with its native BSD4.4 ar
12SVR4.a   - constructed on Solaris with /usr/ccs/bin/ar
13xpg4.a   - constructed on Solaris with /usr/xpg4/bin/ar
14
15Each type of test is run on each of these archive files.  These archives each
16contain four members:
17
18oddlen - a member with an odd lengthed name and content
19evenlen - a member with an even lengthed name and content
20IsNAN.o - a Linux native binary
21very_long_bytecode_file_name.bc - LLVM bytecode file with really long name
22
23These files test different aspects of the archiver that should cause failures
24in llvm-ar if regressions are introduced.
25