delve/pkg/dwarf/line
Derek Parker b83ea0c2fa
pkg/dwarf/line: Fix parsing file table for DWARFv5 (#3090)
As we parse this informatin in the loop we must take care to assemble
things correctly. In this situation when we encounter a file name,
the dir index is -1, then subsequently we get the correct dir index
for that file and can put them together. Previously we were adding the
file and then the directory location to the file list instead of
correctly concatenating them, resulting in an incorrect file list making
indexing into the list return incorrect results later on.
2022-08-05 19:16:38 +02:00
..
_testdata dwarf/line: fix some bugs with the state machine 2018-07-31 12:01:14 -07:00
line_parser_test.go proc,dwarf: Improve DWARF v5 support (#2544) 2021-06-22 13:37:46 +02:00
line_parser.go pkg/dwarf/line: Fix parsing file table for DWARFv5 (#3090) 2022-08-05 19:16:38 +02:00
parse_util.go proc,dwarf: Improve DWARF v5 support (#2544) 2021-06-22 13:37:46 +02:00
state_machine_test.go proc,dwarf: Improve DWARF v5 support (#2544) 2021-06-22 13:37:46 +02:00
state_machine.go pkg/dwarf/line: Fix parsing file table for DWARFv5 (#3090) 2022-08-05 19:16:38 +02:00