diff options
author | Christopher Ferris <cferris@google.com> | 2018-01-17 12:59:45 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2018-01-17 19:18:00 -0800 |
commit | 7eae4d7fbaf92807a9852313356c52760426a1a6 (patch) | |
tree | fdbbf02b0df17f7e4ba5dff45a3c15ad2d63176f /libunwindstack/include/unwindstack/DwarfLocation.h | |
parent | 58fc1d54012d77c6812d5183ce882bdf3a9217c0 (diff) | |
download | unwinding-7eae4d7fbaf92807a9852313356c52760426a1a6.tar.gz |
Add support for getting a dex pc.
Changes:
- Change the register type from int16_t to uint32_t for the location data
and the Eval processing. This is because the special dex pc is > 65535.
- Add the ability for Dwarf register location information to point to a
register that is itself a Dwarf location register.
- Add dex_pc to the frame information.
- Modify the unwind tool to print the dex pc if non-zero.
This does not implement the printing of the dex information in anything
but the unwind tool. It's not the final form of this printing.
Bug: 72070049
Test: Ran new unit tests.
Test: Dumped stack while in interpreter running 137-cfi art test and
Test: verified dex pc is set to non-zero.
Change-Id: I6ce8a6b577fb4f92abacbd433b1f68977e272542
Diffstat (limited to 'libunwindstack/include/unwindstack/DwarfLocation.h')
-rw-r--r-- | libunwindstack/include/unwindstack/DwarfLocation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwindstack/include/unwindstack/DwarfLocation.h b/libunwindstack/include/unwindstack/DwarfLocation.h index 3467e6a..0881182 100644 --- a/libunwindstack/include/unwindstack/DwarfLocation.h +++ b/libunwindstack/include/unwindstack/DwarfLocation.h @@ -38,7 +38,7 @@ struct DwarfLocation { uint64_t values[2]; }; -typedef std::unordered_map<uint16_t, DwarfLocation> dwarf_loc_regs_t; +typedef std::unordered_map<uint32_t, DwarfLocation> dwarf_loc_regs_t; } // namespace unwindstack |