From: Reid Kleckner Date: Mon, 23 Oct 2017 22:44:24 +0000 (+0000) Subject: [codeview] Recognize two records with no type index fields X-Git-Tag: android-x86-7.1-r4~9412 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=28098485bc4007c12ffcf02a95f93da653a48c70;p=android-x86%2Fexternal-llvm.git [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316385 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp b/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp index 650f1942b94..c802b6b6935 100644 --- a/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp +++ b/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp @@ -434,6 +434,8 @@ static bool discoverTypeIndices(ArrayRef 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: