
In LLD_IN_TEST=2 mode, when a thread calls Fatal, there will be no output even if the process exits with code 1. Change a few Fatal to recoverable Err.
10 lines
314 B
ArmAsm
10 lines
314 B
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
|
|
# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
|
|
# RUN: ld.lld %t.o -o /dev/null --noinhibit-exec
|
|
|
|
# CHECK: error: {{.*}}.o:(.mergeable): string is not null terminated
|
|
|
|
.section .mergeable,"MS",@progbits,2
|
|
.short 0x1122
|