summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-profdata/inline-samples.test
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-11-19 15:33:08 +0000
committerDiego Novillo <dnovillo@google.com>2015-11-19 15:33:08 +0000
commitef548d2918df430a7c25ce3dcbb68b639af2d150 (patch)
tree394c0e57b4d3141c61ec55d08275e18bc4b1f1f0 /llvm/test/tools/llvm-profdata/inline-samples.test
parent307f80eab1993a52fed51334dd587800551a2389 (diff)
downloadbcm5719-llvm-ef548d2918df430a7c25ce3dcbb68b639af2d150.tar.gz
bcm5719-llvm-ef548d2918df430a7c25ce3dcbb68b639af2d150.zip
SamplePGO - Sort samples by source location when emitting as text.
When dumping function samples or writing them out as text format, it helps if the samples are emitted sorted by source location. The sorting of the maps is a bit slow, so we only do it on demand. llvm-svn: 253568
Diffstat (limited to 'llvm/test/tools/llvm-profdata/inline-samples.test')
-rw-r--r--llvm/test/tools/llvm-profdata/inline-samples.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-profdata/inline-samples.test b/llvm/test/tools/llvm-profdata/inline-samples.test
index 156dc15aeef..421f002da9f 100644
--- a/llvm/test/tools/llvm-profdata/inline-samples.test
+++ b/llvm/test/tools/llvm-profdata/inline-samples.test
@@ -10,9 +10,9 @@ RUN: llvm-profdata show --sample %t.profbin | FileCheck %s --check-prefix=SHOW1
SHOW1: Function: main: 366846, 0, 6 sampled lines
SHOW1: 2.3: inlined callee: _Z3fool: 246044, 0, 3 sampled lines
SHOW1: 1.3: inlined callee: _Z3bari: 0, 0, 2 sampled lines
-SHOW1: 1.8: inlined callee: _Z3bari: 0, 0, 2 sampled lines
SHOW1: 1.7: inlined callee: _Z3bari: 99492, 0, 2 sampled lines
SHOW1: 1.2: 46732
+SHOW1: 1.8: inlined callee: _Z3bari: 0, 0, 2 sampled lines
3- Convert the binary profile to text encoding and check that they are both
identical.
OpenPOWER on IntegriCloud