diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-06 14:06:28 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-06 14:06:28 +0000 |
commit | f4c9860a669c42d7278078d6221f25d8770cc35b (patch) | |
tree | de4b48670d0fac89f1708879644fb1c8ac169d7e /libunwindstack/DwarfSection.cpp | |
parent | 0fd3345a8990e00c60052bb5b0c4054b74c5b324 (diff) | |
parent | 6ec5d39099e83c3db80117846cf2395815b2ec7f (diff) | |
download | unwinding-f4c9860a669c42d7278078d6221f25d8770cc35b.tar.gz |
Snap for 11411398 from 6ec5d39099e83c3db80117846cf2395815b2ec7f to sdk-release
Change-Id: I108bf1053b5dcb493a08ce05f1a3bf9e5e8a7d6b
Diffstat (limited to 'libunwindstack/DwarfSection.cpp')
-rw-r--r-- | libunwindstack/DwarfSection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwindstack/DwarfSection.cpp b/libunwindstack/DwarfSection.cpp index 2d664d6..728390c 100644 --- a/libunwindstack/DwarfSection.cpp +++ b/libunwindstack/DwarfSection.cpp @@ -450,7 +450,7 @@ bool DwarfSectionImpl<AddressType>::EvalRegister(const DwarfLocation* loc, uint3 *reg_ptr = eval_info->cfa + loc->values[0]; break; case DWARF_LOCATION_REGISTER: { - uint32_t cur_reg = loc->values[0]; + uint16_t cur_reg = eval_info->regs_info.regs->Convert(loc->values[0]); if (cur_reg >= eval_info->regs_info.Total()) { last_error_.code = DWARF_ERROR_ILLEGAL_VALUE; return false; |