[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git] / test / tools / llvm-nm / nonalloc.test
bloba00afcb06168d45132f9a9c774695ad4ccfd5de7
1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-nm --no-sort %t | FileCheck %s
4 # CHECK: N debug_info_main
5 # CHECK: n readonly_local
6 # CHECK: ? writable_local
7 # CHECK: N readonly_global
8 # CHECK: ? writable_global
10 !ELF
11 FileHeader:
12   Class:   ELFCLASS64
13   Data:    ELFDATA2LSB
14   Type:    ET_REL
15   Machine: EM_X86_64
16 Sections:
17   - Name: .debug_info
18     Type: SHT_PROGBITS
19   - Name: .readonly
20     Type: SHT_PROGBITS
21   - Name: .writable
22     Type: SHT_PROGBITS
23     Flags: [SHF_WRITE]
24 Symbols:
25   - Name:    debug_info_main
26     Section: .debug_info
27   - Name:    readonly_local
28     Section: .readonly
29   - Name:    writable_local
30     Section: .writable
32   - Name:    readonly_global
33     Binding: STB_GLOBAL
34     Section: .readonly
35   - Name:    writable_global
36     Binding: STB_GLOBAL
37     Section: .writable