diff options
Diffstat (limited to 'llvm/test/tools/llvm-profdata/show-hot.proftext')
-rw-r--r-- | llvm/test/tools/llvm-profdata/show-hot.proftext | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-profdata/show-hot.proftext b/llvm/test/tools/llvm-profdata/show-hot.proftext new file mode 100644 index 0000000..5c9bd61 --- /dev/null +++ b/llvm/test/tools/llvm-profdata/show-hot.proftext @@ -0,0 +1,35 @@ +# RUN: llvm-profdata show %s --hot-func-list | FileCheck %s + +# CHECK: # Hot count threshold: 101 +# CHECK: hot_b +# CHECK: hot_a +# CHECK: hot_c + +:ir +hot_a +# Func Hash: +0x1234 +# Num Counters: +1 +# Counter Values: +101 + +hot_b +0x5678 +1 +202 + +hot_c +0x5678 +1 +101 + +cold_d +0xabcd +1 +1 + +cold_e +0xefff +1 +0 |