Calling registerName() for the same symbol twice, even with a different
size, has no effect other than the lookup overhead. Avoid the
redundancy.
Fixes facebookincubator/BOLT#299
Paths
| Differential D136115
[BOLT][NFCI] Avoid calling registerName() twice ClosedPublic Authored by maksfb on Oct 17 2022, 2:48 PM.
Details
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 17 2022, 4:14 PM Closed by commit rGdc8035bdddf4: [BOLT][NFCI] Avoid calling registerName() twice (authored by maksfb). · Explain WhyOct 17 2022, 4:17 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 468358 bolt/lib/Rewrite/RewriteInstance.cpp
|