2018-05-10 23:56:04 +08:00
|
|
|
# RUN: llvm-objcopy --help | FileCheck --check-prefix=OBJCOPY-USAGE %s
|
|
|
|
# RUN: not llvm-objcopy 2>&1 | FileCheck --check-prefix=OBJCOPY-USAGE %s
|
|
|
|
# RUN: not llvm-objcopy -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
|
|
|
|
# RUN: not llvm-objcopy -strip-debug 2>&1 | FileCheck %s --check-prefix=NO-INPUT-FILES
|
2018-05-09 01:12:54 +08:00
|
|
|
|
2018-05-10 23:56:04 +08:00
|
|
|
# RUN: llvm-strip --help | FileCheck --check-prefix=STRIP-USAGE %s
|
|
|
|
# RUN: not llvm-strip 2>&1 | FileCheck --check-prefix=STRIP-USAGE %s
|
|
|
|
# RUN: not llvm-strip -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
|
|
|
|
# RUN: not llvm-strip -strip-debug 2>&1 | FileCheck %s --check-prefix=NO-INPUT-FILES
|
2018-05-09 01:12:54 +08:00
|
|
|
|
2018-05-10 23:56:04 +08:00
|
|
|
|
|
|
|
# OBJCOPY-USAGE: USAGE: llvm-objcopy
|
|
|
|
# STRIP-USAGE: USAGE: llvm-strip
|
|
|
|
# UNKNOWN-ARG: unknown argument '-abcabc'
|
|
|
|
# NO-INPUT-FILES: No input file specified
|