• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Test the exact archive format. In particular, test which file names use the
2string table or not.
3
4REQUIRES: shell
5
6RUN: mkdir -p %t
7RUN: cd %t
8
9RUN: echo bar > 0123456789abcde
10RUN: echo zed > 0123456789abcdef
11
12RUN: rm -f test.a
13RUN: llvm-ar rc test.a 0123456789abcde 0123456789abcdef
14RUN: cat test.a | FileCheck -strict-whitespace %s
15
16CHECK:      !<arch>
17CHECK-NEXT: //                                              18        `
18CHECK-NEXT: 0123456789abcdef/
19CHECK-NEXT: 0123456789abcde/{{................................}}4         `
20CHECK-NEXT: bar
21CHECK-NEXT: /0              {{................................}}4         `
22CHECK-NEXT: zed
23