Chromium Code Reviews
Description//tools/binary_size: Group [clone] and ** symbols
Two types of groups:
1. Those that end with "[clone .part.#]"
2. Star symbols (e.g.: "** symbol gap 3")
To handle grouped symbols:
* Print(recursive=True) added
* Diff() updated to be recursive
* Tests updated
For the .size files that motivated this change, the diff before had:
355 symbols added (+), 2964 changed (~), 300 removed (-)
and after:
345 symbols added (+), 2975 changed (~), 290 removed (-)
I was hoping for a bigger reduction, but it turns out the majority of
the "noise" is actually from different functions being inlined.
This change also changes map2size.py from positional arguments to
having: --elf-file, --output-file. It also adds --no-source-paths.
These flags make it obvious that the tool can still be used with only
a .map file.
BUG=681694, 708865
Review-Url: https://codereview.chromium.org/2809043003
Cr-Commit-Position: refs/heads/master@{#463678}
Committed: https://chromium.googlesource.com/chromium/src/+/f70d47db0b462dbc08d4d6ae2e633e4e5b0af518
Patch Set 1 #
Total comments: 4
Patch Set 2 : review comments #
Dependent Patchsets: Messages
Total messages: 11 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||