OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 """The ElfSymbolizer class for symbolizing Executable and Linkable Files. | 5 """The ElfSymbolizer class for symbolizing Executable and Linkable Files. |
6 | 6 |
7 Adapted for Skia's use from | 7 Adapted for Skia's use from |
8 chromium/src/build/android/pylib/symbols/elf_symbolizer.py. | 8 chromium/src/build/android/pylib/symbols/elf_symbolizer.py. |
9 | 9 |
10 Main changes: | 10 Main changes: |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 self.source_line = source_line | 468 self.source_line = source_line |
469 # In the case of |inlines|=True, the |inlined_by| points to the outer | 469 # In the case of |inlines|=True, the |inlined_by| points to the outer |
470 # function inlining the current one (and so on, to form a chain). | 470 # function inlining the current one (and so on, to form a chain). |
471 self.inlined_by = None | 471 self.inlined_by = None |
472 self.disambiguated = disambiguated | 472 self.disambiguated = disambiguated |
473 self.was_ambiguous = was_ambiguous | 473 self.was_ambiguous = was_ambiguous |
474 | 474 |
475 def __str__(self): | 475 def __str__(self): |
476 return '%s [%s:%d]' % ( | 476 return '%s [%s:%d]' % ( |
477 self.name or '??', self.source_path or '??', self.source_line or 0) | 477 self.name or '??', self.source_path or '??', self.source_line or 0) |
OLD | NEW |