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

Unified Diff: tools/memory_inspector/memory_inspector/core/stacktrace.py

Issue 550093003: [Android] Add 64-bit support to memdump (and memory_inspector parser) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment Created 6 years, 3 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/memory_inspector/memory_inspector/core/stacktrace.py
diff --git a/tools/memory_inspector/memory_inspector/core/stacktrace.py b/tools/memory_inspector/memory_inspector/core/stacktrace.py
index b137a03ac82c82cbafb8b053a93676267c99113e..6b865b451f378f16c93965913f88b2220821fd2a 100644
--- a/tools/memory_inspector/memory_inspector/core/stacktrace.py
+++ b/tools/memory_inspector/memory_inspector/core/stacktrace.py
@@ -37,7 +37,7 @@ class Frame(object):
address: the absolute (virtual) address of the stack frame in the
original process virtual address space.
"""
- assert(isinstance(address, int))
+ assert(isinstance(address, (long, int)))
self.address = address
self.symbol = None
self.exec_file_rel_path = None
@@ -54,7 +54,7 @@ class Frame(object):
relative to the target device (e.g., /system/lib/libc.so).
offset: the offset in the executable.
"""
- assert(isinstance(offset, int))
+ assert(isinstance(offset, (long, int)))
self.exec_file_rel_path = exec_file_rel_path
self.offset = offset

Powered by Google App Engine
This is Rietveld 408576698