File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1- RUN: llvm-remarkutil bitstream2yaml %p/Inputs/two-remarks.bitstream -o - | FileCheck %s -strict-whitespace
2- RUN: llvm-remarkutil yaml2bitstream %p/Inputs/two-remarks.yaml -o %t
3- RUN: llvm-remarkutil bitstream2yaml %t -o - | FileCheck %s -strict-whitespace
1+ RUN: llvm-remarkutil bitstream2yaml %p/Inputs/two-remarks.bitstream -o %t.yaml
2+ RUN: FileCheck %s -strict-whitespace < %t.yaml
3+ RUN: llvm-remarkutil yaml2bitstream %p/Inputs/two-remarks.yaml -o %t.bitstream
4+ RUN: llvm-remarkutil bitstream2yaml %t.bitstream -o - | FileCheck %s -strict-whitespace
45
56; CHECK: --- !Analysis
67; CHECK-NEXT: Pass: prologepilog
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ static Error tryBitstream2YAML() {
133133 if (!E.isA <EndOfFileError>())
134134 return E;
135135 consumeError (std::move (E));
136+ OF->keep ();
136137 return Error::success ();
137138}
138139} // namespace bitstream2yaml
You can’t perform that action at this time.
0 commit comments