[SandboxIR][Doc] Add Quick start notes (#123992)
[llvm-project.git] / lld / test / ELF / invalid / invalid-soname.test
blobfdf61e66b0089a812544354a87257a74f86d2956
1 # REQUIRES: x86
2 # RUN: yaml2obj %s -o %t.so
3 # RUN: not ld.lld %t.so -o /dev/null 2>&1 | FileCheck %s
5 # CHECK: error: {{.*}}.so: invalid DT_SONAME entry
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