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
[SandboxIR][Doc] Add Quick start notes (#123992)
[llvm-project.git]
/
lld
/
test
/
ELF
/
invalid
/
invalid-soname.test
blob
fdf61e66b0089a812544354a87257a74f86d2956
1
# REQUIRES: x86
2
# RUN: yaml2obj %s -o %t.so
3
# RUN: not ld.lld %t.so -o /dev/null 2>&1 | FileCheck %s
4
5
# CHECK: error: {{.*}}.so: invalid DT_SONAME entry
6
7
--- !ELF
8
FileHeader:
9
Class: ELFCLASS64
10
Data: ELFDATA2LSB
11
Type: ET_DYN
12
Machine: EM_X86_64
13
Sections:
14
- Name: .test
15
Type: SHT_DYNAMIC
16
Flags: [ SHF_ALLOC ]
17
Link: .strtab
18
EntSize: 0x0000000000000010
19
Entries:
20
- Tag: DT_SONAME
21
Value: 0x0100000000000000