summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-03-07 19:42:19 -0800
committerChristopher Ferris <cferris@google.com>2014-04-03 14:19:24 -0700
commite29609106033a48a6128664668d22bf4fb42a7ee (patch)
treec01cd6a8fd876b11a08ff0120af3f263d71b7b53 /include
parent223fc42b5e289e882f67c893374ffbef595a6901 (diff)
downloadsystem_core-e29609106033a48a6128664668d22bf4fb42a7ee.zip
system_core-e29609106033a48a6128664668d22bf4fb42a7ee.tar.gz
system_core-e29609106033a48a6128664668d22bf4fb42a7ee.tar.bz2
Create an UnwindMapLocal object.
The way libunwind handles local unwinds is different from remote unwinds, so create a new map object to handle the differences. Add new test to verify the map data is being generated correctly. Add new tests to check for leaks. Refactor the BACK_LOGW code into a single header file. Change-Id: I01f3cbfc4b927646174ea1b614fa25d23b9b3427
Diffstat (limited to 'include')
-rw-r--r--include/backtrace/BacktraceMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backtrace/BacktraceMap.h b/include/backtrace/BacktraceMap.h
index 06da2f4..13083bd 100644
--- a/include/backtrace/BacktraceMap.h
+++ b/include/backtrace/BacktraceMap.h
@@ -45,7 +45,7 @@ public:
virtual ~BacktraceMap();
// Get the map data structure for the given address.
- const backtrace_map_t* Find(uintptr_t addr);
+ virtual const backtrace_map_t* Find(uintptr_t addr);
// The flags returned are the same flags as used by the mmap call.
// The values are PROT_*.