diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-03-26 02:02:59 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-03-26 02:02:59 +0000 |
commit | 1fd6d1fd367f8a66a6174fb4f837c7a53e752339 (patch) | |
tree | 18fbafff59b06de3e19ae422b211b9b157861357 /llvm/test/tools/llvm-profdata/multiple-inputs.test | |
parent | fef9e86f7007193ffc7f8d7c27f19cd891a9782b (diff) | |
download | bcm5719-llvm-1fd6d1fd367f8a66a6174fb4f837c7a53e752339.tar.gz bcm5719-llvm-1fd6d1fd367f8a66a6174fb4f837c7a53e752339.zip |
Stop testing the unspecified order in which the OnDiskHashTable stores entries.
llvm-svn: 264487
Diffstat (limited to 'llvm/test/tools/llvm-profdata/multiple-inputs.test')
-rw-r--r-- | llvm/test/tools/llvm-profdata/multiple-inputs.test | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/llvm/test/tools/llvm-profdata/multiple-inputs.test b/llvm/test/tools/llvm-profdata/multiple-inputs.test index 616efe92bb8..40d11083c0c 100644 --- a/llvm/test/tools/llvm-profdata/multiple-inputs.test +++ b/llvm/test/tools/llvm-profdata/multiple-inputs.test @@ -23,29 +23,31 @@ FOO3EMPTY: Maximum function count: 1 FOO3EMPTY: Maximum internal block count: 3 RUN: llvm-profdata merge %p/Inputs/foo3-1.proftext %p/Inputs/foo3bar3-1.proftext -o %t -RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=FOO3FOO3BAR3 -FOO3FOO3BAR3: foo: -FOO3FOO3BAR3: Counters: 3 -FOO3FOO3BAR3: Function count: 3 -FOO3FOO3BAR3: Block counts: [5, 8] -FOO3FOO3BAR3: bar: -FOO3FOO3BAR3: Counters: 3 -FOO3FOO3BAR3: Function count: 7 -FOO3FOO3BAR3: Block counts: [11, 13] +RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=FOO3FOO3BAR3 --check-prefix=FOO3FOO3BAR3-1 +RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=FOO3FOO3BAR3 --check-prefix=FOO3FOO3BAR3-2 +FOO3FOO3BAR3-1: foo: +FOO3FOO3BAR3-1: Counters: 3 +FOO3FOO3BAR3-1: Function count: 3 +FOO3FOO3BAR3-1: Block counts: [5, 8] +FOO3FOO3BAR3-2: bar: +FOO3FOO3BAR3-2: Counters: 3 +FOO3FOO3BAR3-2: Function count: 7 +FOO3FOO3BAR3-2: Block counts: [11, 13] FOO3FOO3BAR3: Total functions: 2 FOO3FOO3BAR3: Maximum function count: 7 FOO3FOO3BAR3: Maximum internal block count: 13 RUN: llvm-profdata merge %p/Inputs/foo3-1.proftext %p/Inputs/bar3-1.proftext -o %t -RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=DISJOINT -DISJOINT: foo: -DISJOINT: Counters: 3 -DISJOINT: Function count: 1 -DISJOINT: Block counts: [2, 3] -DISJOINT: bar: -DISJOINT: Counters: 3 -DISJOINT: Function count: 1 -DISJOINT: Block counts: [2, 3] +RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=DISJOINT --check-prefix=DISJOINT-1 +RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=DISJOINT --check-prefix=DISJOINT-2 +DISJOINT-1: foo: +DISJOINT-1: Counters: 3 +DISJOINT-1: Function count: 1 +DISJOINT-1: Block counts: [2, 3] +DISJOINT-2: bar: +DISJOINT-2: Counters: 3 +DISJOINT-2: Function count: 1 +DISJOINT-2: Block counts: [2, 3] DISJOINT: Total functions: 2 DISJOINT: Maximum function count: 1 DISJOINT: Maximum internal block count: 3 |