repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git]
/
test
/
DebugInfo
/
invalid-relocations.test
blob
9ac4877c9dbba25f885b04c5703db57ac7f24a68
1
# RUN: yaml2obj %s > %t.o
2
# RUN: llvm-dwarfdump %t.o 2>&1 | FileCheck %s
3
# CHECK: failed to compute relocation: Unknown
4
5
!ELF
6
FileHeader:
7
Class: ELFCLASS32
8
Data: ELFDATA2LSB
9
Type: ET_REL
10
Machine: EM_386
11
Sections:
12
- Type: SHT_PROGBITS
13
Name: .text
14
Flags: [ ]
15
AddressAlign: 0x04
16
Content: "0000"
17
- Type: SHT_PROGBITS
18
Name: .debug_info
19
Flags: [ ]
20
AddressAlign: 0x04
21
Content: "0000"
22
- Type: SHT_REL
23
Name: .rel.debug_info
24
Link: .symtab
25
Info: .debug_info
26
Relocations:
27
- Offset: 0
28
Symbol: _start
29
Type: 0xFF
30
Symbols:
31
- Name: _start
32
Type: STT_FUNC
33
Section: .text
34
Value: 0x0
35
Binding: STB_GLOBAL