[lld-macho][test] Remove ld64.lld: prefix in a diagnostic

The convention is not to check the prefix before `error: `.
This gives flexibility if we need to rename ld64.lld to something else,
(e.g. a while ago we used ld64.lld.darwinnew).
This commit is contained in:
Fangrui Song 2021-08-16 19:41:11 -07:00
parent 54e76cb17a
commit f74b70ef57
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin --defsym TEXT=0 %t/bar.s -o %t/bar.o
# RUN: not %lld -dylib %t/foo.o %t/bar.o -o %t/libDuplicate.dylib 2>&1 | FileCheck %s --check-prefix=DUP
# DUP: ld64.lld: error: duplicate symbol: _llvm.foo
# DUP: error: duplicate symbol: _llvm.foo
#--- foo.s
.globl _llvm.foo