summaryrefslogtreecommitdiff
path: root/libbacktrace/include/backtrace
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-01-19 10:26:36 -0800
committerChristopher Ferris <cferris@google.com>2018-01-23 13:17:48 -0800
commitc0e01d629de69f7ea5f10a98346dd4560e4fa688 (patch)
treeb0695e478b8e078dd44a2a96cb0b87e4c4e23348 /libbacktrace/include/backtrace
parent13ac91c94c2b916671e1dff4032f7f3e00eb6db4 (diff)
downloadunwinding-c0e01d629de69f7ea5f10a98346dd4560e4fa688.tar.gz
Add extra frame when dex_pc is non-zero.
Use the art dex file library to read the dex data. Add unit tests for the UnwindDexFile code. Bug: 72070049 Test: All unit tests continue to pass. Test: Dumped the backtrace of the 137-cfi test while running in interpreter Test: mode and verified that the stack trace is correct. Did this on host Test: and for arm/arm64. Change-Id: Ia6f343318c5dd6968a954015a7d59fdf101575b0
Diffstat (limited to 'libbacktrace/include/backtrace')
-rw-r--r--libbacktrace/include/backtrace/Backtrace.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libbacktrace/include/backtrace/Backtrace.h b/libbacktrace/include/backtrace/Backtrace.h
index 1b8ad19..18e9f61 100644
--- a/libbacktrace/include/backtrace/Backtrace.h
+++ b/libbacktrace/include/backtrace/Backtrace.h
@@ -81,7 +81,6 @@ struct backtrace_frame_data_t {
uint64_t rel_pc; // The relative pc.
uint64_t sp; // The top of the stack.
size_t stack_size; // The size of the stack, zero indicate an unknown stack size.
- uint64_t dex_pc; // If non-zero, the Dex PC for the ART interpreter.
backtrace_map_t map; // The map associated with the given pc.
std::string func_name; // The function name associated with this pc, NULL if not found.
uint64_t func_offset; // pc relative to the start of the function, only valid if func_name is not