I suggest doing this change to eliminate code duplication.
It's NFC except that it removes early exit for Count == 0
which does not seem to be useful (we have no such tests either).
Details
Details
Diff Detail
Diff Detail
Differential D49136
[ELF] - Refactor readCallGraph(). NFCI. ClosedPublic Authored by grimar on Jul 10 2018, 7:44 AM.
Details Summary I suggest doing this change to eliminate code duplication.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Aug 3 2018, 11:12 AM Closed by commit rLLD338953: [ELF] - Refactor readCallGraph(). (authored by grimar). · Explain WhyAug 4 2018, 12:31 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 154806 ELF/Driver.cpp
|