SuperSize: Ignore map-elf section size comparisons for some sections
Supersize compares sections sizes between the map and elf files to ensure they match. However, with partitioned libraries, some sections are automatically generated when extracting the partitions from the original combined library, and hence impossible to compare sizes. Similarly, the map file contains duplicate sections for each partition. Since SuperSize currently analyzes the main .elf, we need to ignore sections (eg. .text) for the partitions. In the future, the script can be improved to return section sizes for all partitions (ie. a set of sets of section sizes). Bug: 982334 Change-Id: I240d06bdaa405c9c1984ddf82e4244fc9df5dda2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1708201 Commit-Queue: Christopher Grant <cjgrant@chromium.org> Reviewed-by:Samuel Huang <huangs@chromium.org> Cr-Commit-Position: refs/heads/master@{#679952}
Showing
Please register or sign in to comment