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

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

Issue 2851473003: supersize: Track symbol aliases and shared symbols (Closed)
Patch Set: tweak nm interfface Created 3 years, 8 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/html_report.py
diff --git a/tools/binary_size/libsupersize/html_report.py b/tools/binary_size/libsupersize/html_report.py
index ac21349848ba87b3f3336ea32042893cb250ce2d..c1bb059dc363a4515f06cd0d0c9956e953d534ee 100644
--- a/tools/binary_size/libsupersize/html_report.py
+++ b/tools/binary_size/libsupersize/html_report.py
@@ -134,7 +134,7 @@ def _MakeCompactTree(symbols, include_symbols):
symbol_type = _NODE_SYMBOL_TYPE_VTABLE
elif symbol.name.endswith(']'):
symbol_type = _NODE_SYMBOL_TYPE_GENERATED
- _AddSymbolIntoFileNode(node, symbol_type, symbol.name, symbol.size,
+ _AddSymbolIntoFileNode(node, symbol_type, symbol.name, symbol.pss,
include_symbols)
depth += 2
result[_NODE_MAX_DEPTH_KEY] = max(result[_NODE_MAX_DEPTH_KEY], depth)

Powered by Google App Engine
This is Rietveld 408576698