Dwarf5 fixes [1 of 5]: Add & use missing enums, fix typo.

First of 5 small patches to fix various breakpad issues found
while testing dump_syms on DWARF v5 in ChromeOS.

This patch adds some missing DWARF enums, and their uses, and fixes
one small typo (was updating 'lineptr' instead of '*lineptr').

Change-Id: Ic674d5db29f29a69a3f6e370d0553eb4139c91de
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2634546
Reviewed-by: Sterling Augustine <saugustine@google.com>
This commit is contained in:
Caroline Tice 2021-01-16 15:09:48 -08:00 committed by Sterling Augustine
parent f469cab97b
commit f4115fad24
4 changed files with 11 additions and 4 deletions

View file

@ -1203,7 +1203,7 @@ void LineInfo::ReadFileRow(const uint8_t** lineptr,
// MD5 entries help a debugger sort different versions of files with
// the same name. It is always paired with a DW_FORM_data16 and is
// unused in this case.
lineptr += 16;
*lineptr += 16;
break;
default:
fprintf(stderr, "Unrecognized form in line table header. %d\n",