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 7 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% 14 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% 21 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% 28