1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/Other/bcanalyzer-dump-option.txt
Francis Visoiu Mistrih e206b99c28 [llvm-bcanalyzer] Don't dump the contents if -dump is not passed
With all the previous refactorings this slipped through and now we
always dump the contents of the bitcode files, even if -dump is not
passed.
2019-11-13 10:38:57 -08:00

12 lines
350 B
Plaintext

RUN: llvm-bcanalyzer -dump %S/Inputs/has-block-info.bc | FileCheck -check-prefix=WITH-DUMP %s
RUN: llvm-bcanalyzer %S/Inputs/has-block-info.bc | FileCheck -check-prefix=WITHOUT-DUMP %s
WITH-DUMP: <ABC
WITHOUT-DUMP-NOT: <ABC
WITH-DUMP: </ABC>
WITHOUT-DUMP-NOT: </ABC>
WITH-DUMP: <XYZ
WITHOUT-DUMP-NOT: <XYZ
WITH-DUMP: </XYZ>
WITHOUT-DUMP-NOT: </XYZ>