Home | History | Annotate | Download | only in llvm-lto
      1 ; RUN: not llvm-lto foobar 2>&1 | FileCheck %s
      2 ; CHECK: llvm-lto: error loading file 'foobar': {{N|n}}o such file or directory
      3 
      4 ; RUN: not llvm-lto --list-symbols-only %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CHECK-LIST
      5 ; CHECK-LIST: llvm-lto: error loading file '{{.*}}/Inputs/empty.bc': The file was not recognized as a valid object file
      6 
      7 ; RUN: not llvm-lto --thinlto %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CHECK-THIN
      8 ; CHECK-THIN: llvm-lto: error loading file '{{.*}}/Inputs/empty.bc': The file was not recognized as a valid object file
      9