forked from OSchip/llvm-project
[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:
parent
54e76cb17a
commit
f74b70ef57
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue