brintos

brintos / llvm-project-archived public Read only

0
0
Text · 464 B · 0ee41d1 Raw
11 lines · plain
1# REQUIRES: x862# Check that we fall back to search paths if a version script was not found3# This behaviour matches ld.bfd.4 5# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o6# RUN: rm -rf %t.dir && mkdir -p %t.dir7# RUN: echo '{};' > %t.dir/script8# RUN: ld.lld -L%t.dir --version-script=script %t.o -o /dev/null9# RUN: not ld.lld --version-script=script %t.o 2>&1 | FileCheck -check-prefix ERROR %s10# ERROR: error: cannot find version script11