diff options
| author | David Stenberg <david.stenberg@ericsson.com> | 2023-07-12 12:14:46 +0200 |
|---|---|---|
| committer | David Stenberg <david.stenberg@ericsson.com> | 2023-07-12 13:46:29 +0200 |
| commit | fe6cddef2020c8e103cff8180540d4e2e9102c6d (patch) | |
| tree | a9864b3a0783816f9957e8e20064288c19a99666 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | 593797ab9bedca6e9b0b7a9ed0589cf76023ab00 (diff) | |
| download | llvm-fe6cddef2020c8e103cff8180540d4e2e9102c6d.zip llvm-fe6cddef2020c8e103cff8180540d4e2e9102c6d.tar.gz llvm-fe6cddef2020c8e103cff8180540d4e2e9102c6d.tar.bz2 | |
[DWARF] Allow op-index in line number programs
This extends DWARFDebugLine to properly parse line number programs with
maximum_operations_per_instruction > 1 for VLIW targets.
No functions that use that parsed output to retrieve line information
have been extended to support multiple op-indexes. This means that when
retrieving information for an address with multiple op-indexes, e.g.
when using llvm-addr2line, the penultimate row for that address will be
used, which in most cases is the row for the second largest op-index.
This will be addressed in further changes, but this patch at least
allows us to correctly parse such line number programs, with a warning
saying that the line number information may be incorrect (incomplete).
Reviewed By: StephenTozer
Differential Revision: https://reviews.llvm.org/D152536
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
