19 lines · plain
1## Show that llvm-size reports an error when passed an input file in an2## unknown format.3 4# RUN: not llvm-size %s 2>&1 | FileCheck %s -DFILE=%s --check-prefix=UNRECOGNIZED5# UNRECOGNIZED: {{.*}}llvm-size{{(.*)}}: error: '[[FILE]]': The file was not recognized as a valid object file6 7## Show that llvm-size reports an error when passed an input file in an8## unsupported format.9 10# RUN: yaml2obj %s -o %t11# RUN: not llvm-size %t 2>&1 | FileCheck %s -DFILE=%t --check-prefix=NOTSUPPORTED12# NOTSUPPORTED: {{.*}}llvm-size{{(.*)}}: error: '[[FILE]]': unsupported file type13 14--- !minidump15Streams:16 - Type: LinuxAuxv17 Size: 718 Content: 1122334455660019