Index: build/android/pylib/symbols/elf_symbolizer.py |
diff --git a/build/android/pylib/symbols/elf_symbolizer.py b/build/android/pylib/symbols/elf_symbolizer.py |
index ffcd22facd068ee7510e1c1318334aee2f6ba402..90e99e5a2757770b30d8d3a89d0a34b589212780 100644 |
--- a/build/android/pylib/symbols/elf_symbolizer.py |
+++ b/build/android/pylib/symbols/elf_symbolizer.py |
@@ -286,7 +286,8 @@ class ELFSymbolizer(object): |
if m: |
if not m.group(1).startswith('?'): |
source_path = m.group(1) |
- source_line = int(m.group(2)) |
+ if not m.group(2).startswith('?'): |
+ source_line = int(m.group(2)) |
else: |
logging.warning('Got invalid symbol path from addr2line: %s' % line2) |