Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / tools / llvm-readobj / elf-hash-histogram.test
blobb7ddfabacaadb8def629bec01ce35ec709401b9e
1 RUN: llvm-readobj -elf-hash-histogram %p/Inputs/gnuhash.so.elf-ppc64 \
2 RUN:  --elf-output-style=GNU | FileCheck %s -check-prefix PPC64GNU
3 RUN: llvm-readobj -elf-hash-histogram %p/Inputs/gnuhash.so.elf-x86_64 --elf-output-style=GNU \
4 RUN:   | FileCheck %s -check-prefix X86GNU
5 RUN: llvm-readobj -elf-hash-histogram %p/Inputs/got-plt.exe.elf-mipsel --elf-output-style=GNU \
6 RUN:   | FileCheck %s -check-prefix SYSV
8 PPC64GNU: Histogram for `.gnu.hash' bucket list length (total of 3 buckets)
9 PPC64GNU-NEXT:  Length  Number     % of total  Coverage
10 PPC64GNU-NEXT:       0  1          ( 33.3%)       0.0%
11 PPC64GNU-NEXT:       1  1          ( 33.3%)      25.0%
12 PPC64GNU-NEXT:       2  0          (  0.0%)      25.0%
13 PPC64GNU-NEXT:       3  1          ( 33.3%)     100.0%
15 X86GNU: Histogram for `.gnu.hash' bucket list length (total of 3 buckets)
16 X86GNU-NEXT:  Length  Number     % of total  Coverage
17 X86GNU-NEXT:       0  1          ( 33.3%)       0.0%
18 X86GNU-NEXT:       1  1          ( 33.3%)      25.0%
19 X86GNU-NEXT:       2  0          (  0.0%)      25.0%
20 X86GNU-NEXT:       3  1          ( 33.3%)     100.0%
22 SYSV: Histogram for bucket list length (total of 3 buckets)
23 SYSV-NEXT:  Length  Number     % of total  Coverage
24 SYSV-NEXT:       0  0          (  0.0%)       0.0%
25 SYSV-NEXT:       1  0          (  0.0%)       0.0%
26 SYSV-NEXT:       2  2          ( 66.7%)      57.1%
27 SYSV-NEXT:       3  1          ( 33.3%)     100.0%