summaryrefslogtreecommitdiffstats
path: root/libbacktrace/include/backtrace/Backtrace.h
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
commit0b06a590d9d949b9738266488d7fd2bc2d0b0557 (patch)
tree9088f2b7a33f42ad9478ee1a663a0ab5d71c65fd /libbacktrace/include/backtrace/Backtrace.h
parentb04bbccbb60ae303ecd083e5faa25f3168ba95cb (diff)
downloadsystem_core-0b06a590d9d949b9738266488d7fd2bc2d0b0557.tar.gz
system_core-0b06a590d9d949b9738266488d7fd2bc2d0b0557.tar.bz2
system_core-0b06a590d9d949b9738266488d7fd2bc2d0b0557.zip
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/Backtrace.h')
-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 1b8ad19e3..18e9f61e8 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