This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho][nfc] Track # of ICF calls to `equals*` methods
ClosedPublic

Authored by int3 on Mar 5 2022, 9:50 AM.

Details

Reviewers
oontvoo
Group Reviewers
Restricted Project
Commits
rG64cc719766ec: [lld-macho][nfc] Track # of ICF calls to `equals*` methods
Summary

This is debug code that is disabled by default. It'll provide a easy way
to figure out the impact (if any) of tweaking ICF's hashing algorithm
(since a poor quality hash will result in many more equals* calls).

Diff Detail

Event Timeline

int3 created this revision.Mar 5 2022, 9:50 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 5 2022, 9:50 AM
int3 requested review of this revision.Mar 5 2022, 9:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 5 2022, 9:50 AM
oontvoo accepted this revision.Mar 7 2022, 6:19 AM
oontvoo added a subscriber: oontvoo.

LG

lld/MachO/ICF.cpp
26

nit:

This revision is now accepted and ready to land.Mar 7 2022, 6:19 AM
This revision was landed with ongoing or failed builds.Mar 7 2022, 9:37 AM
This revision was automatically updated to reflect the committed changes.
int3 marked an inline comment as done.