diff options
Diffstat (limited to 'llvm/test/tools/llvm-profdata')
-rw-r--r-- | llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v4 | bin | 0 -> 816 bytes | |||
-rw-r--r-- | llvm/test/tools/llvm-profdata/compat.proftext | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v4 b/llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v4 Binary files differnew file mode 100644 index 00000000000..1720c407282 --- /dev/null +++ b/llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v4 diff --git a/llvm/test/tools/llvm-profdata/compat.proftext b/llvm/test/tools/llvm-profdata/compat.proftext index 139202d162e..5bc6c9a7369 100644 --- a/llvm/test/tools/llvm-profdata/compat.proftext +++ b/llvm/test/tools/llvm-profdata/compat.proftext @@ -65,3 +65,10 @@ large_numbers # FORMATV2-NEXT: Maximum internal block count: 1000000 +# RUN: llvm-profdata show %S/Inputs/compat.profdata.v4 -all-functions --counts | FileCheck %s -check-prefix=FORMATV4 +# FORMATV4: instrprof.c__foo_static: +# FORMATV4-NEXT: Hash: 0x000000000000000a +# FORMATV4-NEXT: Counters: 2 +# FORMATV4-NEXT: Function count: 500500 +# FORMATV4-NEXT: Block counts: [180100] + |