diff options
author | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2023-02-01 13:35:31 +0000 |
---|---|---|
committer | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2023-02-06 17:15:54 +0000 |
commit | 121452aa50afe99f56bffc1086016f3ceedd20e6 (patch) | |
tree | e88bb8bb9952c73becd64c360432009e1d5d07ed /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | f8563a2545416df90e41b4345ccb81f9ca9b7835 (diff) | |
download | llvm-121452aa50afe99f56bffc1086016f3ceedd20e6.zip llvm-121452aa50afe99f56bffc1086016f3ceedd20e6.tar.gz llvm-121452aa50afe99f56bffc1086016f3ceedd20e6.tar.bz2 |
[DebugInfo] Handle fixed-width DW_FORM_addrx variants in DWARFFormValue::getAsSectionedAddress()
Previously this would incorrectly return the raw offset into the .debug_addr section for the
DW_FORM_addrx1/2/3/4 forms rather than the actual address.
Note that this was handled correctly in the dump() function so this issue only occurs for users
of this API and not in tools such as llvm-dwarfdump. The dump() method has now been updated
to use this method to increase coverage.
This also now adds a few unit tests for indexed addresses to DWARFDebugInfoTest.
Differential Revision: https://reviews.llvm.org/D143073
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions