1 RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.coff-i386 \
2 RUN: | FileCheck %s -check-prefix COFF
3 RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.coff-x86-64 \
4 RUN: | FileCheck %s -check-prefix COFF
5 RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.elf-i386 \
6 RUN: | FileCheck %s -check-prefix ELF
7 RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.elf-x86-64 \
8 RUN: | FileCheck %s -check-prefix ELF
10 COFF: 00000000 d .data
11 COFF: 00000000 t .text
12 COFF: 00000000 d L{{_?}}.str
13 COFF: U {{_?}}SomeOtherFunction
14 COFF: 00000000 T {{_?}}main
17 ELF: U SomeOtherFunction