llvm/llvm/test/tools/llvm-profgen/truncated-pseudoprobe.test

; RUN: llvm-profgen --format=text --perfscript=%S/Inputs/truncated-pseudoprobe.perfscript --binary=%S/Inputs/truncated-pseudoprobe.perfbin --csspgo-preinliner=0 --gen-cs-nested-profile=0 --output=%t
; RUN: FileCheck %s --input-file %t

; CHECK:     [foo]:75:0
; CHECK-NEXT:  1: 0
; CHECK-NEXT:  2: 15
; CHECK-NEXT:  3: 15
; CHECK-NEXT:  4: 15
; CHECK-NEXT:  5: 0
; CHECK-NEXT:  6: 15
; CHECK-NEXT:  7: 0
; CHECK-NEXT:  8: 15 bar:15
; CHECK-NEXT:  9: 0
; CHECK-NEXT:  !CFGChecksum: 563088904013236
; CHECK:     [foo:8 @ bar]:30:15
; CHECK-NEXT:  1: 15
; CHECK-NEXT:  4: 15
; CHECK-NEXT:  !CFGChecksum: 72617220756
; CHECK-NEXT:  !Attributes: 1

; truncated-pseudoprobe.perfbin is from the following compile commands:
; llc truncated-pseudoprobe.ll -filetype=obj -o truncated-pseudoprobe.o
; clang truncated-pseudoprobe.o -o truncated-pseudoprobe.perfbin