OSDN Git Service

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)
commit1715f28483fd58caddc31b16e9afb14e4e521c12
tree1b6930134d811eacecfc222cc550eb34e317b470
parent865d24fcb4446db39e61ff1c9bd818cf64e2c938
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338308 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/CodeView/TypeStreamMerger.cpp