Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Issue 2936033002: Supersize diff rewrite + tweaks (Closed)

Created:
3 years, 6 months ago by agrieve
Modified:
3 years, 6 months ago
Reviewers:
estevenson
CC:
chromium-reviews, wnwen+watch_chromium.org, estevenson+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

supersize: Rewrite diff logic and a few display tweaks The prior diff logic tried to make sense of symbol aliases by putting the diffed symbols in the same alias groups as the after_symbols. However, this approach does not work when a symbol from one alias group changes to have a different set of aliases in the after group. Now, all symbols within a diff have no aliases, but instead contain pointers to the before & after symbols. Additionally, each diff'ed symbol now also tracks its own diff_status (rather than this information being stored in the containing group. Both of these changes simplify the logic, as well as allow for some more advanced queries. (e.g. filter for symbols where number of aliases has changed) BUG=733053 Review-Url: https://codereview.chromium.org/2936033002 Cr-Commit-Position: refs/heads/master@{#479805} Committed: https://chromium.googlesource.com/chromium/src/+/89f066e7d382f7f2f9e74b1afbe1fcf1649615cf

Patch Set 1 #

Patch Set 2 : Supersize diff rewrite + tweaks #

Patch Set 3 : Make DeltaSymbol .size != .pss (but the real delta) #

Patch Set 4 : Improve Disassemble() #

Total comments: 6

Patch Set 5 : review comnts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+978 lines, -884 lines) Patch
M tools/binary_size/libsupersize/console.py View 1 2 3 11 chunks +90 lines, -64 lines 0 comments Download
M tools/binary_size/libsupersize/describe.py View 1 2 3 4 8 chunks +115 lines, -49 lines 0 comments Download
M tools/binary_size/libsupersize/diff.py View 1 2 2 chunks +23 lines, -124 lines 0 comments Download
M tools/binary_size/libsupersize/file_format.py View 3 chunks +4 lines, -3 lines 0 comments Download
M tools/binary_size/libsupersize/integration_test.py View 1 2 6 chunks +13 lines, -7 lines 0 comments Download
M tools/binary_size/libsupersize/models.py View 1 2 3 15 chunks +203 lines, -113 lines 0 comments Download
M tools/binary_size/libsupersize/testdata/Archive.golden View 1 1 chunk +46 lines, -46 lines 0 comments Download
M tools/binary_size/libsupersize/testdata/Archive_Elf.golden View 1 1 chunk +49 lines, -49 lines 0 comments Download
M tools/binary_size/libsupersize/testdata/Archive_OutputDirectory.golden View 1 1 chunk +46 lines, -46 lines 0 comments Download
M tools/binary_size/libsupersize/testdata/Console.golden View 1 2 3 2 chunks +60 lines, -56 lines 0 comments Download
M tools/binary_size/libsupersize/testdata/Diff_Basic.golden View 1 2 1 chunk +62 lines, -61 lines 0 comments Download
M tools/binary_size/libsupersize/testdata/Diff_NullDiff.golden View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M tools/binary_size/libsupersize/testdata/FullDescription.golden View 1 2 1 chunk +113 lines, -113 lines 0 comments Download
M tools/binary_size/libsupersize/testdata/SymbolGroupMethods.golden View 1 2 1 chunk +150 lines, -150 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (6 generated)
estevenson
lgtm https://codereview.chromium.org/2936033002/diff/60001/tools/binary_size/libsupersize/describe.py File tools/binary_size/libsupersize/describe.py (right): https://codereview.chromium.org/2936033002/diff/60001/tools/binary_size/libsupersize/describe.py#newcode133 tools/binary_size/libsupersize/describe.py:133: if pss_with_sign[0] not in '~-': nit: does it ...
3 years, 6 months ago (2017-06-15 16:10:45 UTC) #3
agrieve
https://codereview.chromium.org/2936033002/diff/60001/tools/binary_size/libsupersize/describe.py File tools/binary_size/libsupersize/describe.py (right): https://codereview.chromium.org/2936033002/diff/60001/tools/binary_size/libsupersize/describe.py#newcode133 tools/binary_size/libsupersize/describe.py:133: if pss_with_sign[0] not in '~-': On 2017/06/15 16:10:45, estevenson ...
3 years, 6 months ago (2017-06-15 19:57:04 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2936033002/70001
3 years, 6 months ago (2017-06-15 19:58:15 UTC) #7
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 20:15:19 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://chromium.googlesource.com/chromium/src/+/89f066e7d382f7f2f9e74b1afbe1...

Powered by Google App Engine
This is Rietveld 408576698