mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
2b7cf1e1b8
Summary: Fix "llvm-profdata show" so it can work with compact binary format profile. The change is to mark all functions "used" so SampleProfileReaderCompactBinary::read will read in all profiles available for dumping. The function names will be MD5 hash for compact binary format. Reviewers: wmi, davidxl, danielcdh Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65162 llvm-svn: 368731
9 lines
404 B
Plaintext
9 lines
404 B
Plaintext
# Make sure "llvm-profdata show" works for sample profile in binary compact format
|
|
|
|
# RUN: llvm-profdata show -sample %S/Inputs/compat-sample.profdata | FileCheck %s
|
|
|
|
# CHECK: Function: 15822663052811949562: 17, 0, 6 sampled lines
|
|
# CHECK-NEXT: Samples collected in the function's body {
|
|
# CHECK: Samples collected in inlined callsites {
|
|
# CHECK-NEXT: 1: inlined callee: 6309742469962978389: 17, 0, 1
|