2015-02-03 08:49:57 +08:00
|
|
|
; RUN: not llvm-c-test --module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck %s
|
2015-12-18 21:58:05 +08:00
|
|
|
; RUN: not llvm-c-test --lazy-module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck %s
|
2015-02-03 08:49:57 +08:00
|
|
|
|
2016-07-04 16:01:29 +08:00
|
|
|
CHECK: Error parsing bitcode: Unknown attribute kind (63)
|
2015-12-19 07:46:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
; RUN: not llvm-c-test --new-module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck --check-prefix=NEW %s
|
|
|
|
; RUN: not llvm-c-test --lazy-new-module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck --check-prefix=NEW %s
|
|
|
|
|
2016-07-04 16:01:29 +08:00
|
|
|
NEW: Error with new bitcode parser: Unknown attribute kind (63)
|
2016-04-08 17:19:02 +08:00
|
|
|
|
|
|
|
; RUN: llvm-c-test --test-diagnostic-handler < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck --check-prefix=DIAGNOSTIC %s
|
|
|
|
|
|
|
|
DIAGNOSTIC: Executing diagnostic handler
|
|
|
|
DIAGNOSTIC: Diagnostic severity is of type error
|
|
|
|
DIAGNOSTIC: Diagnostic handler was called while loading module
|