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

Side by Side Diff: tools/binary_size/libsupersize/linker_map_parser.py

Issue 2813963002: //tools/binary_size: Consolidate most tools into "supersize" command (Closed)
Patch Set: Fix readme formatting. Make archive's --outoput-file a positional arg 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 unified diff | Download patch
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import logging 5 import logging
6 6
7 import models 7 import models
8 8
9 9
10 class MapFileParser(object): 10 class MapFileParser(object):
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 syms.append(models.Symbol(section_name, size, address=address, 205 syms.append(models.Symbol(section_name, size, address=address,
206 name=name or mangled_name, 206 name=name or mangled_name,
207 object_path=path)) 207 object_path=path))
208 logging.debug('Symbol count for %s: %d', section_name, 208 logging.debug('Symbol count for %s: %d', section_name,
209 len(syms) - sym_count_at_start) 209 len(syms) - sym_count_at_start)
210 except: 210 except:
211 logging.error('Problem line: %r', line) 211 logging.error('Problem line: %r', line)
212 logging.error('In section: %r', section_name) 212 logging.error('In section: %r', section_name)
213 raise 213 raise
OLDNEW
« no previous file with comments | « tools/binary_size/libsupersize/integration_test.py ('k') | tools/binary_size/libsupersize/main.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698