# REQUIRES: x86 # RUN: not ld.lld -unknown1 -unknown2 -m foo /no/such/file -lnosuchlib \ # RUN: 2>&1 | FileCheck -check-prefix=UNKNOWN %s # UNKNOWN: warning: unknown argument: -unknown1 # UNKNOWN: warning: unknown argument: -unknown2 # UNKNOWN: unknown argument(s) found # UNKNOWN: Unknown emulation: foo # UNKNOWN: cannot open /no/such/file # UNKNOWN: Unable to find library -lnosuchlib # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t # RUN: not ld.lld %t -o /no/such/file 2>&1 | FileCheck -check-prefix=MISSING %s # MISSING: failed to open /no/such/file # RUN: ld.lld --help 2>&1 | FileCheck -check-prefix=HELP %s # HELP: USAGE: # RUN: ld.lld --version 2>&1 | FileCheck -check-prefix=VERSION %s # VERSION: LLD .globl _start _start: nop