summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/merge-string-empty.s
blob: dc6635c961234dbf5f7a5e2ea94b82ce81c4e59b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// REQUIRES: x86
// Ensure that a mergeable string with size 0 does not cause any issue.

// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld %t.o -o /dev/null

.globl _start, s
.section .rodata.str1.1,"aMS",@progbits,1
s:
.text
_start:
	.quad s
OpenPOWER on IntegriCloud