blob: 20f7cf2f2c0d3f18719c4096bce2ca8950253459 [file] [edit]
; Verify that composite LBR blocks preserve nonzero head and total samples when
; their body sample maps are empty.
; RUN: llvm-profdata merge --sample --extbinary-composite-prof --extbinary %S/Inputs/sample-composite-empty-lbr.proftext -o %t.prof
; RUN: llvm-profdata merge --sample --text %t.prof -o - | FileCheck %s --match-full-lines --strict-whitespace
; CHECK:top:42:7
; CHECK-NEXT:caller:21:3
; CHECK-NEXT: 1: callee:11