2016-01-11 23:08:22 +01:00
|
|
|
; RUN: not llvm-lto foobar 2>&1 | FileCheck %s
|
2016-01-12 15:58:40 +01:00
|
|
|
; CHECK: llvm-lto: error loading file 'foobar': {{N|n}}o such file or directory
|
2016-03-01 14:13:49 +01:00
|
|
|
|
|
|
|
; RUN: not llvm-lto --list-symbols-only %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CHECK-LIST
|
|
|
|
; CHECK-LIST: llvm-lto: error loading file '{{.*}}/Inputs/empty.bc': The file was not recognized as a valid object file
|
2016-03-19 01:17:32 +01:00
|
|
|
|
|
|
|
; RUN: not llvm-lto --thinlto %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CHECK-THIN
|
|
|
|
; CHECK-THIN: llvm-lto: error loading file '{{.*}}/Inputs/empty.bc': The file was not recognized as a valid object file
|