• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.coff-i386 \
2RUN:         | FileCheck %s -check-prefix COFF
3RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.coff-x86-64 \
4RUN:         | FileCheck %s -check-prefix COFF
5RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.elf-i386 \
6RUN:         | FileCheck %s -check-prefix ELF
7RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.elf-x86-64 \
8RUN:         | FileCheck %s -check-prefix ELF
9
10COFF: 00000000 d .data
11COFF: 00000000 t .text
12COFF: 00000000 d L{{_?}}.str
13COFF:          U {{_?}}SomeOtherFunction
14COFF: 00000000 T {{_?}}main
15COFF:          U {{_?}}puts
16
17ELF:          U SomeOtherFunction
18ELF: 00000000 T main
19ELF:          U puts
20