forked from OSchip/llvm-project
13 lines
711 B
Plaintext
13 lines
711 B
Plaintext
RUN: not llvm-remarkutil yaml2bitstream %p/Inputs/empty-file -o - 2>&1 | FileCheck %s --check-prefix=YAMLPARSER
|
|
RUN: not llvm-remarkutil instruction-count --parser=yaml %p/Inputs/empty-file -o - 2>&1 | FileCheck %s --check-prefix=YAMLPARSER
|
|
RUN: llvm-remarkutil bitstream2yaml %p/Inputs/empty-file -o - 2>&1 | FileCheck %s --allow-empty --check-prefix=BITSTREAM2YAML
|
|
RUN: llvm-remarkutil instruction-count --parser=bitstream %p/Inputs/empty-file -o - 2>&1 | FileCheck %s --allow-empty --check-prefix=SIZEBITSTREAM
|
|
|
|
; YAMLPARSER: error: document root is not of mapping type.
|
|
|
|
; An empty bitstream file is valid.
|
|
; BITSTREAM2YAML-NOT: error
|
|
|
|
; SIZEBITSTREAM-LABEL: Function,InstructionCount
|
|
; SIZEBITSTREAM-EMPTY
|