repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lld
/
test
/
ELF
/
invalid
/
invalid-binding.test
blob
75ec32f91e7146554088b02f8bd91e10f2fd9272
1
# RUN: yaml2obj %s -o %t.o
2
# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
3
# CHECK: error: {{.*}}.o: symbol (1) has invalid binding: 9
4
5
--- !ELF
6
FileHeader:
7
Class: ELFCLASS64
8
Data: ELFDATA2LSB
9
OSABI: ELFOSABI_GNU
10
Type: ET_REL
11
Machine: EM_X86_64
12
Sections:
13
- Name: .text
14
Type: SHT_PROGBITS
15
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
16
Symbols:
17
- Name: foo
18
Section: .text
19
Binding: 0x9