[InstCombine] Signed saturation patterns
[llvm-core.git] / test / tools / llvm-objdump / symbol-table-elf.test
bloba2a7f018618c794078b39b4e1e1dcfaa56828f39
1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-objdump --syms %t > %t1
3 # RUN: llvm-objdump -t     %t > %t2
4 # RUN: cmp %t1 %t2
5 # RUN: FileCheck %s --input-file=%t1
7 # CHECK:      SYMBOL TABLE:
8 # CHECK-NEXT: 0000000000001004 l     F .text     00000000 lfoo
9 # CHECK-NEXT: 0000000000001008 l     O .text     00000000 lbar
10 # CHECK-NEXT: 0000000000001004 g     F .text     00000000 foo
11 # CHECK-NEXT: 0000000000001008 g     O .text     00000000 bar
13 !ELF
14 FileHeader:
15   Class:           ELFCLASS64
16   Data:            ELFDATA2LSB
17   Type:            ET_EXEC
18   Machine:         EM_X86_64
19 Sections:
20   - Name:            .bss
21     Type:            SHT_NOBITS
22     Flags:           [ SHF_ALLOC ]
23     AddressAlign:    0x0000000000000010
24     Size:            64
25   - Name:            .text
26     Type:            SHT_PROGBITS
27     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
28     AddressAlign:    0x0000000000000010
29     Content:         "00000000"
30 Symbols:
31   - Name:     lfoo
32     Type:     STT_FUNC
33     Section:  .text
34     Value:    0x1004
35   - Name:     lbar
36     Type:     STT_OBJECT
37     Section:  .text
38     Value:    0x1008
39   - Name:     foo
40     Type:     STT_FUNC
41     Section:  .text
42     Value:    0x1004
43     Binding:  STB_GLOBAL
44   - Name:     bar
45     Type:     STT_OBJECT
46     Section:  .text
47     Value:    0x1008
48     Binding:  STB_GLOBAL