Currently we print "error: unclosed comment in a linker script", which doesn't provide information about the real error location. Fixes https://bugs.llvm.org/show_bug.cgi?id=46793. Differential revision: https://reviews.llvm.org/D84300
8 lines
252 B
Plaintext
8 lines
252 B
Plaintext
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t.o
|
|
# RUN: not ld.lld -shared %t.o -o /dev/null --script %s 2>&1 | FileCheck %s
|
|
|
|
SECTIONS /*
|
|
|
|
CHECK: error: {{.*}}diag6.test:1: unclosed comment in a linker script
|