[ARM] Cortex-M4 schedule additions
[llvm-complete.git] / test / tools / llvm-nm / format-sysv-layout.test
blob085e8380da68c780941c569d9f33a673598397bd
1 # RUN: yaml2obj %s > %t.o
2 # RUN: llvm-nm %t.o --debug-syms --format=sysv | FileCheck %s -DFILE=%t.o --strict-whitespace
3 # RUN: llvm-nm %t.o --debug-syms -f=sysv | FileCheck %s -DFILE=%t.o --strict-whitespace
5 !ELF
6 FileHeader:
7   Class:   ELFCLASS64
8   Data:    ELFDATA2LSB
9   Type:    ET_REL
10   Machine: EM_X86_64
11 Sections:
12   - Name:  .text
13     Type:  SHT_PROGBITS
14     Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
15 Symbols:
16   - Name:    symbol_with_a_significantly_longer_name
17     Section: .text
18   - Name:    symbol
19     Section: .text
20   - Name:    symbol_2
21     Type:    STT_FUNC
23 # CHECK:       Symbols from [[FILE]]:
24 # CHECK-EMPTY:
25 # CHECK-NEXT: Name                  Value           Class        Type         Size             Line  Section
26 # CHECK-NEXT: symbol              |0000000000000000|   t  |            NOTYPE|0000000000000000|     |.text
27 # CHECK-NEXT: symbol_2            |                |   U  |              FUNC|                |     |*UND*
28 # CHECK-NEXT: symbol_with_a_significantly_longer_name|0000000000000000|   t  |            NOTYPE|0000000000000000|     |.text