blob: 0d7ab8e4682a5fd29becf2b2d7b2eafffc9f9413 [file] [log] [blame] [edit]
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
; CHECK-NEXT: Name: StackSize
; CHECK-NEXT: Function: func0
; CHECK-NEXT: Args:
; CHECK-NEXT: - NumStackBytes: '1'
; CHECK-NEXT: - String: ' stack bytes in function'
; CHECK-NEXT: ...
; CHECK-NEXT: --- !Analysis
; CHECK-NEXT: Pass: asm-printer
; CHECK-NEXT: Name: InstructionCount
; CHECK-NEXT: Function: func0
; CHECK-NEXT: Args:
; CHECK-NEXT: - NumInstructions: '1'
; CHECK-NEXT: - String: ' instructions in function'
; CHECK-NEXT: ...