[PDB] Support executables and source/line info.
authorZachary Turner <zturner@google.com>
Fri, 17 Apr 2015 22:40:36 +0000 (22:40 +0000)
committerZachary Turner <zturner@google.com>
Fri, 17 Apr 2015 22:40:36 +0000 (22:40 +0000)
commit9d74bda3e373b8a98efe461188470b35c56128cb
treec18c8578a09f7cd847d688ecf1c7582a0bf41911
parent4ba5d91a08249edc55c521f1c94ced9062e6cb58
[PDB] Support executables and source/line info.

Previously DebugInfoPDB could only load data for a PDB given a
path to the PDB.  It could not open an EXE and find the matching
PDB and verify it matched, etc.  This patch adds support for that
so that we can simply load debug information for a PDB directly.

Additionally, this patch extends DebugInfoPDB to support getting
source and line information for symbols.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235237 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/PDB/DIA/DIASession.h
include/llvm/DebugInfo/PDB/IPDBSession.h
include/llvm/DebugInfo/PDB/PDB.h
include/llvm/DebugInfo/PDB/PDBTypes.h
lib/DebugInfo/PDB/DIA/DIASession.cpp
lib/DebugInfo/PDB/PDB.cpp
tools/llvm-pdbdump/llvm-pdbdump.cpp
unittests/DebugInfo/PDB/PDBApiTest.cpp