linux-packaging-mono/external/llvm/test/Object/invalid-alignment.test
Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

22 lines
526 B
Plaintext

# RUN: yaml2obj %s -o %t.o
# RUN: not llvm-readobj -r %t.o 2>&1 | FileCheck %s
# CHECK: Error reading file: unaligned data
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64
Sections:
- Name: .foo
Type: SHT_PROGBITS
Content: 42
- Name: .rela.foo
Type: SHT_RELA
Info: .foo
Relocations:
- Offset: 0
Type: R_X86_64_NONE