diff options
| author | Greg Clayton <gclayton@fb.com> | 2023-11-06 13:44:46 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-06 13:44:46 -0800 |
| commit | 0156b6ed6561f67f1b86ceef027908dd425e0615 (patch) | |
| tree | 83aefe49b1f6bca43bfdc0fb4b4cb627a58a4430 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | e15fcd7ba41e63edc7da217f0b33aeb10f1c0b5a (diff) | |
Modify llvm-gsymutil to ignore invalid file indexes (#71431)
DWARF produced by LTO and BOLT can sometimes be broken where file
indexes are beyond the end of the line table's file list in the
prologue. This patch allows llvm-gsymutil to convert this DWARF without
crashing, and emits errors when:
line table contains entries with an invalid file index (line entry will
be removed) inline functions that have invalid DW_AT_call_file file
indexes when there are no line table entries for a function and we fall
back to making a single line table entry from the functions
DW_AT_decl_file/DW_AT_decl_line attributes, we make sure the
DW_AT_decl_file attribute is valid before emitting it.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
