[PATCH] D18907: Print ELF hash histogram

khemant@codeaurora.org via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 8 13:08:34 PDT 2016


khemant created this revision.
khemant added reviewers: rafael, echristo.
khemant added subscribers: rafael, echristo, llvm-commits.
khemant set the repository for this revision to rL LLVM.

The patch print histogram data of hash buckets in ELF  file. It works on SHT_HASH or SHT_GNU_HASH type sections.

The output shows how many buckets are for each chain length and how many symbols they cover cumulatively.

Repository:
  rL LLVM

http://reviews.llvm.org/D18907

Files:
  test/tools/llvm-readobj/elf-hash-histogram.test
  tools/llvm-readobj/ELFDumper.cpp
  tools/llvm-readobj/ObjDumper.h
  tools/llvm-readobj/llvm-readobj.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18907.53074.patch
Type: text/x-patch
Size: 9833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160408/09823d61/attachment.bin>


More information about the llvm-commits mailing list