[codeview] Recognize two records with no type index fields

Thunk records do not have types and frame cookies do not have types.

These were found while linking libconcrt.lib from MSVC.

llvm-svn: 316385
This commit is contained in:
Reid Kleckner 2017-10-23 22:44:24 +00:00
parent e1f4245f8d
commit ecddee27a8
1 changed files with 2 additions and 0 deletions

View File

@ -434,6 +434,8 @@ static bool discoverTypeIndices(ArrayRef<uint8_t> Content, SymbolKind Kind,
case SymbolKind::S_ENVBLOCK:
case SymbolKind::S_BLOCK32:
case SymbolKind::S_FRAMEPROC:
case SymbolKind::S_THUNK32:
case SymbolKind::S_FRAMECOOKIE:
break;
// Scope ending symbols.
case SymbolKind::S_END: