Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions llvm/test/tools/llvm-remarkutil/convert.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
RUN: llvm-remarkutil bitstream2yaml %p/Inputs/two-remarks.bitstream -o - | FileCheck %s -strict-whitespace
RUN: llvm-remarkutil yaml2bitstream %p/Inputs/two-remarks.yaml -o %t
RUN: llvm-remarkutil bitstream2yaml %t -o - | FileCheck %s -strict-whitespace
RUN: llvm-remarkutil bitstream2yaml %p/Inputs/two-remarks.bitstream -o %t.yaml
RUN: FileCheck %s -strict-whitespace < %t.yaml
RUN: llvm-remarkutil yaml2bitstream %p/Inputs/two-remarks.yaml -o %t.bitstream
RUN: llvm-remarkutil bitstream2yaml %t.bitstream -o - | FileCheck %s -strict-whitespace

; CHECK: --- !Analysis
; CHECK-NEXT: Pass: prologepilog
Expand Down
1 change: 1 addition & 0 deletions llvm/tools/llvm-remarkutil/RemarkConvert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ static Error tryBitstream2YAML() {
if (!E.isA<EndOfFileError>())
return E;
consumeError(std::move(E));
OF->keep();
return Error::success();
}
} // namespace bitstream2yaml
Expand Down
Loading