• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: llvm-nm %p/Inputs/archive-test.a-coff-i386 \
2RUN:         | FileCheck %s -check-prefix COFF
3RUN: llvm-as %p/Inputs/trivial.ll -o=%t1
4RUN: llvm-ar rcs %t2 %t1
5RUN: llvm-nm %t2 | FileCheck %s -check-prefix BITCODE
6
7
8COFF: trivial-object-test.coff-i386:
9COFF-NEXT: 00000000 d .data
10COFF-NEXT: 00000000 t .text
11COFF-NEXT: 00000000 d L_.str
12COFF-NEXT:          U _SomeOtherFunction
13COFF-NEXT: 00000000 T _main
14COFF-NEXT:          U _puts
15
16BITCODE:          U SomeOtherFunction
17BITCODE-NEXT:          T main
18BITCODE-NEXT:          U puts
19