1 RUN: llvm-nm %p/Inputs/archive-test.a-coff-i386 \
2 RUN: | FileCheck %s -check-prefix COFF
3 RUN: llvm-as %p/Inputs/trivial.ll -o=%t1
4 RUN: llvm-ar rcs %t2 %t1
5 RUN: llvm-nm %t2 | FileCheck %s -check-prefix BITCODE
8 COFF: trivial-object-test.coff-i386:
9 COFF-NEXT: 00000000 d .data
10 COFF-NEXT: 00000000 t .text
11 COFF-NEXT: 00000000 d L_.str
12 COFF-NEXT: U _SomeOtherFunction
13 COFF-NEXT: 00000000 T _main
16 BITCODE: U SomeOtherFunction