[llvm] r316385 - [codeview] Recognize two records with no type index fields

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 15:44:24 PDT 2017


Author: rnk
Date: Mon Oct 23 15:44:24 2017
New Revision: 316385

URL: http://llvm.org/viewvc/llvm-project?rev=316385&view=rev
Log:
[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.

Modified:
    llvm/trunk/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp

Modified: llvm/trunk/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp?rev=316385&r1=316384&r2=316385&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp (original)
+++ llvm/trunk/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp Mon Oct 23 15:44:24 2017
@@ -434,6 +434,8 @@ static bool discoverTypeIndices(ArrayRef
   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:




More information about the llvm-commits mailing list