[SymbolFilePDB] Use section contributions as another way to determine the compiland
authorAaron Smith <aaron.smith@microsoft.com>
Thu, 22 Mar 2018 19:26:33 +0000 (19:26 +0000)
committerAaron Smith <aaron.smith@microsoft.com>
Thu, 22 Mar 2018 19:26:33 +0000 (19:26 +0000)
commit308e39ca8d89f9b9891fe70b4c47c458a53871d4
treee9ad48c09be60fc9bf9afdf8cccad1671b6673cc
parent4a3be6e5786f6a0ad96fc2e98f10ef801c5bdb93
[SymbolFilePDB] Use section contributions as another way to determine the compiland

Some PDB Symbols don't have line information. Use the section contributions to determine their compiland.
This is useful to determine the parent compiland for PDBSymbolTypeData, i.e. variables.

llvm-svn: 328232
lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp