summaryrefslogtreecommitdiffstats
path: root/libbacktrace/UnwindMap.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-01-18 11:15:49 -0800
committerChristopher Ferris <cferris@google.com>2018-01-18 17:26:20 -0800
commit7937a36c8e24ef2dc5105a2a6b67f395934b2e2f (patch)
treec41fda20166f7166c5f17dc881da3ec5d8c3b25d /libbacktrace/UnwindMap.h
parent2c4f487dfbf1e1cce6e887bfef5e864f8222d07f (diff)
downloadsystem_core-7937a36c8e24ef2dc5105a2a6b67f395934b2e2f.tar.gz
system_core-7937a36c8e24ef2dc5105a2a6b67f395934b2e2f.tar.bz2
system_core-7937a36c8e24ef2dc5105a2a6b67f395934b2e2f.zip
Change all uintptr_t to uint64_t in API.
In order to support the offline unwinding properly, get rid of the usage of non-fixed type uintptr_t from all API calls. In addition, completely remove the old local and remote unwinding code that used libunwind. The next step will be to move the offline unwinding to the new unwinder. Bug: 65682279 Test: Ran unit tests for libbacktrace/debuggerd. Test: Ran debuggerd -b on a few arm and arm64 processes. Test: Ran crasher and crasher64 and verified tombstones look correct. Change-Id: Ib0c6cee3ad6785a102b74908a3d8e5e93e5c6b33
Diffstat (limited to 'libbacktrace/UnwindMap.h')
-rw-r--r--libbacktrace/UnwindMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/UnwindMap.h b/libbacktrace/UnwindMap.h
index 6ffdafd18..15544e82b 100644
--- a/libbacktrace/UnwindMap.h
+++ b/libbacktrace/UnwindMap.h
@@ -55,7 +55,7 @@ class UnwindMapLocal : public UnwindMap {
bool Build() override;
- void FillIn(uintptr_t addr, backtrace_map_t* map) override;
+ void FillIn(uint64_t addr, backtrace_map_t* map) override;
void LockIterator() override { pthread_rwlock_rdlock(&map_lock_); }
void UnlockIterator() override { pthread_rwlock_unlock(&map_lock_); }