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

Unified Diff: tools/binary_size/libsupersize/linker_map_parser.py

Issue 2889603002: supersize: Add "printed" to console, Show ~0 for PSS >0 <.1 (Closed)
Patch Set: add in Symbol Group counter reset Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/binary_size/libsupersize/linker_map_parser.py
diff --git a/tools/binary_size/libsupersize/linker_map_parser.py b/tools/binary_size/libsupersize/linker_map_parser.py
index 00bf04ca791c45dc4021439b8f97708b79a7abfd..47d6141d67334c0d74d8cd9edc6afcb5be9ddac0 100644
--- a/tools/binary_size/libsupersize/linker_map_parser.py
+++ b/tools/binary_size/libsupersize/linker_map_parser.py
@@ -111,7 +111,6 @@ class MapFileParser(object):
# 0x0255fb00 0x8
# ** common 0x02db5700 0x13ab48
syms = self._symbols
- symbol_gap_count = 0
while True:
line = self._SkipToLineWithPrefix('.')
if not line:
@@ -133,6 +132,7 @@ class MapFileParser(object):
# Common symbols have no address.
syms.extend(self._common_symbols)
prefix_len = len(section_name) + 1 # + 1 for the trailing .
+ symbol_gap_count = 0
merge_symbol_start_address = section_address
sym_count_at_start = len(syms)
line = next(self._lines)

Powered by Google App Engine
This is Rietveld 408576698