Module debug info: Don't assert when encountering an incomplete definition
authorAdrian Prantl <aprantl@apple.com>
Mon, 22 Aug 2016 22:23:58 +0000 (22:23 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 22 Aug 2016 22:23:58 +0000 (22:23 +0000)
commita72972b985e4553a8e607687bfb7e32bff25aa85
tree78b1322eadd4744c71d7e7dbb04f7341592526f9
parent9f5c83b914ff8d7094fef580cf86ecee784ad008
Module debug info: Don't assert when encountering an incomplete definition
in isDefinedInClangModule() and assume that the incomplete definition
is not defined in the module.

This broke the -gmodules self host recently.
rdar://problem/27894367

llvm-svn: 279485
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/Modules/Inputs/DebugNestedA.h [new file with mode: 0644]
clang/test/Modules/Inputs/DebugNestedB.h [new file with mode: 0644]
clang/test/Modules/Inputs/module.map