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
/
non-terminated-string.test
blob
beb8e955469d77ed189478fa7178c1eab1e2722f
1
# RUN: yaml2obj %s -o %t
2
# RUN: not ld.lld %t -o /dev/null 2>&1 | FileCheck %s
3
4
# CHECK: {{.*}}:(.merge): string is not null terminated
5
6
!ELF
7
FileHeader:
8
Class: ELFCLASS64
9
Data: ELFDATA2LSB
10
OSABI: ELFOSABI_FREEBSD
11
Type: ET_REL
12
Machine: EM_X86_64
13
Sections:
14
- Type: SHT_PROGBITS
15
Name: .merge
16
Flags: [ SHF_ALLOC, SHF_MERGE, SHF_STRINGS ]
17
AddressAlign: 0x04
18
Content: "AABB"
19
EntSize: 0x2