[LLDB] [COFF] Fix handling of symbols with more than one aux symbol

Differential Revision: https://reviews.llvm.org/D84070
This commit is contained in:
Martin Storsjö
2020-07-17 23:35:45 +03:00
parent 8b16e45f66
commit f07ddbc9c4
2 changed files with 11 additions and 1 deletions

View File

@@ -686,7 +686,7 @@ Symtab *ObjectFilePECOFF::GetSymtab() {
if (symbol.naux > 0) {
i += symbol.naux;
offset += symbol_size;
offset += symbol.naux * symbol_size;
}
}
}