[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / llvm-readobj / mips-got-overlapped.test
blob881c63b79a4f93b21ef1bc9e496ca43a4e25ef8d
1 # Check that llvm-readobj -A correctly shows .got section
2 # content if there are some other zero-sized sections with the same
3 # address as the .got. got-over.exe.elf-mips has zero-sized .data
4 # section at the same offset .got section.
6 RUN: llvm-readobj -A %p/Inputs/got-over.exe.elf-mips | FileCheck %s
8 GOT-OBJ: Cannot find PLTGOT dynamic table tag.
10 CHECK:      Primary GOT {
11 CHECK-NEXT:   Canonical gp value: 0x418270
12 CHECK-NEXT:   Reserved entries [
13 CHECK-NEXT:     Entry {
14 CHECK-NEXT:       Address: 0x410280
15 CHECK-NEXT:       Access: -32752
16 CHECK-NEXT:       Initial: 0x0
17 CHECK-NEXT:       Purpose: Lazy resolver
18 CHECK-NEXT:     }
19 CHECK-NEXT:     Entry {
20 CHECK-NEXT:       Address: 0x410284
21 CHECK-NEXT:       Access: -32748
22 CHECK-NEXT:       Initial: 0x80000000
23 CHECK-NEXT:       Purpose: Module pointer (GNU extension)
24 CHECK-NEXT:     }
25 CHECK-NEXT:   ]
26 CHECK-NEXT:   Local entries [
27 CHECK-NEXT:     Entry {
28 CHECK-NEXT:       Address: 0x410288
29 CHECK-NEXT:       Access: -32744
30 CHECK-NEXT:       Initial: 0x4001B8
31 CHECK-NEXT:     }
32 CHECK-NEXT:   ]
33 CHECK-NEXT:   Global entries [
34 CHECK-NEXT:     Entry {
35 CHECK-NEXT:       Address: 0x41028C
36 CHECK-NEXT:       Access: -32740
37 CHECK-NEXT:       Initial: 0x0
38 CHECK-NEXT:       Value: 0x0
39 CHECK-NEXT:       Type: None
40 CHECK-NEXT:       Section: Undefined
41 CHECK-NEXT:       Name: _foo
42 CHECK-NEXT:     }
43 CHECK-NEXT:   ]
44 CHECK-NEXT:   Number of TLS and multi-GOT entries: 0
45 CHECK-NEXT: }