mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-08 21:47:23 +00:00
[PGO] Add v2 format compatibility test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254572 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
51b567dc4b
commit
aeaec5e3f9
BIN
test/tools/llvm-profdata/Inputs/compat.profdata.v2
Normal file
BIN
test/tools/llvm-profdata/Inputs/compat.profdata.v2
Normal file
Binary file not shown.
@ -45,3 +45,23 @@ large_numbers
|
||||
# SUMMARY: Total functions: 3
|
||||
# SUMMARY: Maximum function count: 2305843009213693952
|
||||
# SUMMARY: Maximum internal block count: 1152921504606846976
|
||||
|
||||
# RUN: llvm-profdata show %S/Inputs/compat.profdata.v2 -all-functions --counts | FileCheck %s -check-prefix=FORMATV2
|
||||
|
||||
# FORMATV2: Counters:
|
||||
# FORMATV2-NEXT: foo:
|
||||
# FORMATV2-NEXT: Hash: 0x000000000000000a
|
||||
# FORMATV2-NEXT: Counters: 2
|
||||
# FORMATV2-NEXT: Function count: 499500
|
||||
# FORMATV2-NEXT: Block counts: [179900]
|
||||
# FORMATV2-NEXT: main:
|
||||
# FORMATV2-NEXT: Hash: 0x000000000000410a
|
||||
# FORMATV2-NEXT: Counters: 4
|
||||
# FORMATV2-NEXT: Function count: 1
|
||||
# FORMATV2-NEXT: Block counts: [1000, 1000000, 499500]
|
||||
# FORMATV2-NEXT: Functions shown: 2
|
||||
# FORMATV2-NEXT: Total functions: 2
|
||||
# FORMATV2-NEXT: Maximum function count: 499500
|
||||
# FORMATV2-NEXT: Maximum internal block count: 1000000
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user