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
/
merge-zero-size.test
blob
564ed44068efdee42e5359b09e579083fe5bea24
1
# REQUIRES: x86
2
3
# RUN: yaml2obj %s -o %t.o
4
5
# Test that we accept a zero sh_entsize for SHF_MERGE section.
6
# RUN: ld.lld %t.o -o %t.exe
7
8
!ELF
9
FileHeader:
10
Class: ELFCLASS64
11
Data: ELFDATA2LSB
12
OSABI: ELFOSABI_FREEBSD
13
Type: ET_REL
14
Machine: EM_X86_64
15
Sections:
16
- Type: SHT_PROGBITS
17
Name: .strings
18
Flags: [ SHF_ALLOC, SHF_MERGE, SHF_STRINGS ]
19
AddressAlign: 0x04
20
Content: "FFFFFFFFFFFFFFFF"
21
EntSize: 0x0