aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorDavid Stenberg <david.stenberg@ericsson.com>2023-07-12 12:14:46 +0200
committerDavid Stenberg <david.stenberg@ericsson.com>2023-07-12 13:46:29 +0200
commitfe6cddef2020c8e103cff8180540d4e2e9102c6d (patch)
treea9864b3a0783816f9957e8e20064288c19a99666 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parent593797ab9bedca6e9b0b7a9ed0589cf76023ab00 (diff)
downloadllvm-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