SamplePGO - Sort samples by source location when emitting as text.
[oota-llvm.git] / test / tools / llvm-profdata / inline-samples.test
index 156dc15aeefe825ffba0ccc026e3092eca576098..421f002da9f98ef0ae5a76b6f30bd8c4c4f5acfa 100644 (file)
@@ -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.