3 # LLD uses the debug data to get information for error messages, if possible.
4 # However, if there is no debug line section, we should not attempt to parse
5 # it, as that would result in errors from the parser.
7 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
8 # RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
12 # CHECK: error: undefined symbol: undefined
13 # CHECK-NEXT: {{.*}}.o:(.text+0x1)