This is an archive of the discontinued LLVM Phabricator instance.

Print ELF hash histogram
ClosedPublic

Authored by khemant on Apr 8 2016, 1:08 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

khemant updated this revision to Diff 53074.Apr 8 2016, 1:08 PM
khemant retitled this revision from to Print ELF hash histogram.
khemant updated this object.
khemant added reviewers: rafael, echristo.
khemant set the repository for this revision to rL LLVM.
khemant added subscribers: rafael, echristo, llvm-commits.
echristo accepted this revision.Apr 8 2016, 1:17 PM
echristo edited edge metadata.

In general looks ok. Reminding khemant to go ahead and do post-commit review of his readobj changes :)

-eric

This revision is now accepted and ready to land.Apr 8 2016, 1:17 PM

Thanks for the reminder :)

This revision was automatically updated to reflect the committed changes.