[NativePDB] Don't fail on import modules.
authorZachary Turner <zturner@google.com>
Tue, 2 Apr 2019 19:39:45 +0000 (19:39 +0000)
committerZachary Turner <zturner@google.com>
Tue, 2 Apr 2019 19:39:45 +0000 (19:39 +0000)
commita31347f17d1f03d01845e7d433d24dedd3dec8e0
tree8ba7237daa2368a84568da11a8358a4a39d38dbb
parent6cd81263600d52786b2d2b49e21c8115bfd87039
[NativePDB] Don't fail on import modules.

A recent patch to LLD started emitting information about import modules.
These are represented as compile units in the PDB, but with no
additional debug info.  This was confusing the native pdb reader, who
expected that the debug info stream be present.

This should fix failing tests on the Windows bots.

llvm-svn: 357513
lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp