This fixes a crash when a second pass is required for the Codeview Type merging ...
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 30 Jul 2018 21:14:25 +0000 (21:14 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 30 Jul 2018 21:14:25 +0000 (21:14 +0000)
commit0bb8e8918795ba0d403fd89982afd9dba128979b
treeb52434a9a53cb0a729be5b86934d3a3e6d46d266
parentf07c5a0e9c4bde60c8aaf359d1945a9a44b95d80
This fixes a crash when a second pass is required for the Codeview Type merging *and* the index points outside of the table (which should lead to an error being printed).

This occurs currently until MS precompiled headers .obj is added (see D45213)

Differential Revision: https://reviews.llvm.org/D50006

llvm-svn: 338308
llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp