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

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

Issue 2828333003: supersize: Strip linker-added prefixes from symbol names (Closed)
Patch Set: 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
« no previous file with comments | « tools/binary_size/libsupersize/archive.py ('k') | tools/binary_size/libsupersize/file_format.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/binary_size/libsupersize/describe.py
diff --git a/tools/binary_size/libsupersize/describe.py b/tools/binary_size/libsupersize/describe.py
index bf689d574c66e8ad3ae14cfcc544ec15bb7f89a7..5dd831d6570b9863b87714756b60669a9d16ca30 100644
--- a/tools/binary_size/libsupersize/describe.py
+++ b/tools/binary_size/libsupersize/describe.py
@@ -81,13 +81,12 @@ class Describer(object):
yield ' source_path={} \tobject_path={}'.format(
sym.source_path, sym.object_path)
if sym.name:
- yield ' is_anonymous={} name={}'.format(
- int(sym.is_anonymous), sym.name)
+ yield ' flags={} name={}'.format(sym.FlagsString(), sym.name)
if sym.full_name:
yield ' full_name={}'.format(sym.full_name)
elif sym.full_name:
- yield ' is_anonymous={} full_name={}'.format(
- int(sym.is_anonymous), sym.full_name)
+ yield ' flags={} full_name={}'.format(
+ sym.FlagsString(), sym.full_name)
else:
yield '{}@{:<9s} {:<7} {}'.format(
sym.section, address, sym.size,
« no previous file with comments | « tools/binary_size/libsupersize/archive.py ('k') | tools/binary_size/libsupersize/file_format.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698