[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / Object / invalid-alignment.test
blob8a0079062669d50cd5c9cc43280aa3bd64f0ecc7
1 # RUN: yaml2obj %s -o %t.o
2 # RUN: llvm-readobj -r %t.o 2>&1 | FileCheck %s
4 # CHECK:      Format: elf64-x86-64
5 # CHECK-NEXT: Arch: x86_64
6 # CHECK-NEXT: AddressSize: 64bit
7 # CHECK-NEXT: LoadName:
8 # CHECK-NEXT: Relocations [
9 # CHECK-NEXT:   Section (2) .rela.foo {
10 # CHECK-NEXT:     0x0 R_X86_64_NONE - 0x0
11 # CHECK-NEXT:   }
12 # CHECK-NEXT: ]
14 --- !ELF
15 FileHeader:
16   Class:           ELFCLASS64
17   Data:            ELFDATA2LSB
18   Type:            ET_REL
19   Machine:         EM_X86_64
20 Sections:
21   - Name:            .foo
22     Type:            SHT_PROGBITS
23     Content:         42
24   - Name:            .rela.foo
25     Type:            SHT_RELA
26     Info:            .foo
27     Relocations:
28       - Type:        R_X86_64_NONE