[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / Object / yaml2obj-elf-rel-noref.yaml
blob904ec0e28f0195bdab3778cbeefa92727af5b072
1 # RUN: yaml2obj %s | llvm-readobj --sections -r - | FileCheck %s
3 !ELF
4 FileHeader:        !FielHeader
5   Class:           ELFCLASS32
6   Data:            ELFDATA2LSB
7   Type:            ET_REL
8   Machine:         EM_ARM
9   Flags:           [ EF_ARM_EABI_VER5 ]
10 Sections:        
11   - Name:            .text
12     Type:            SHT_PROGBITS
13     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
14     AddressAlign:    0x0000000000000004
15     Content:         03308FE0022093E7000052E31EFF2F01
16   - Name:            .rel.text
17     Type:            SHT_REL
18     Flags:           [ SHF_INFO_LINK ]
19     Link:            .symtab
20     AddressAlign:    0x0000000000000004
21     Info:            .text
22     Relocations:     
23       - Offset:          0x000000000000000C
24         Type:            R_ARM_V4BX
25   - Name:            .data
26     Type:            SHT_PROGBITS
27     Flags:           [ SHF_WRITE, SHF_ALLOC ]
28     AddressAlign:    0x0000000000000001
29     Content:         ''
30   - Name:            .bss
31     Type:            SHT_NOBITS
32     Flags:           [ SHF_WRITE, SHF_ALLOC ]
33     AddressAlign:    0x0000000000000001
34     Size:            0
35   - Name:            .ARM.attributes
36     Type:            SHT_ARM_ATTRIBUTES
37     AddressAlign:    0x0000000000000001
38     Content:         4115000000616561626900010B000000060208010901
39 Symbols:
40   - Name:            .text
41     Type:            STT_SECTION
42     Section:         .text
43   - Name:            .data
44     Type:            STT_SECTION
45     Section:         .data
46   - Name:            .bss
47     Type:            STT_SECTION
48     Section:         .bss
49   - Name:            '$a'
50     Section:         .text
51   - Name:            call_weak_fn
52     Type:            STT_FUNC
53     Section:         .text
54   - Name:            .ARM.attributes
55     Type:            STT_SECTION
56     Section:         .ARM.attributes
58 # CHECK:        Section {
59 # CHECK-NEXT:     Index: 0
60 # CHECK:        }
61 # CHECK:        Section {
62 # CHECK-NEXT:     Index: 1
63 # CHECK-NEXT:     Name: .text (5)
64 # CHECK:        }
65 # CHECK-NEXT:   Section {
66 # CHECK-NEXT:     Index: 2
67 # CHECK-NEXT:     Name: .rel.text (1)
68 # CHECK-NEXT:     Type: SHT_REL (0x9)
69 # CHECK-NEXT:     Flags [ (0x40)
70 # CHECK:        }
71 # CHECK:        Relocations [
72 # CHECK-NEXT:     Section (2) .rel.text {
73 # CHECK-NEXT:       0xC R_ARM_V4BX - 0x0
74 # CHECK-NEXT:     }
75 # CHECK-NEXT:   ]