Mercurial > hg > CbC > CbC_llvm
view test/Object/archive-format.test @ 52:c22698ecb2a9
modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 15 Jan 2014 21:01:33 +0900 |
parents | 95c75e76d11b |
children | afa8332a0e37 |
line wrap: on
line source
Test the exact archive format. In particular, test which file names use the string table or not. REQUIRES: shell RUN: mkdir -p %t RUN: cd %t RUN: echo bar > 0123456789abcde RUN: echo zed > 0123456789abcdef RUN: rm -f test.a RUN: llvm-ar rc test.a 0123456789abcde 0123456789abcdef RUN: cat test.a | FileCheck -strict-whitespace %s CHECK: !<arch> CHECK-NEXT: // 18 ` CHECK-NEXT: 0123456789abcdef/ CHECK-NEXT: 0123456789abcde/{{................................}}4 ` CHECK-NEXT: bar CHECK-NEXT: /0 {{................................}}4 ` CHECK-NEXT: zed