Files
clang-p2996/lld/test/ELF/invalid/merge-writable.s
Rui Ueyama d7ead5b58d Improve error message for bad SHF_MERGE sections
This patch adds a section name to error messages.

Differential Revision: https://reviews.llvm.org/D68758

llvm-svn: 374290
2019-10-10 08:32:12 +00:00

8 lines
265 B
ArmAsm

// REQUIRES: x86
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
// RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
// CHECK: merge-writable.s.tmp.o:(.foo): writable SHF_MERGE section is not supported
.section .foo,"awM",@progbits,4
.quad 0