OSDN Git Service

Provide DIA implementation of DebugInfoPDB.
authorZachary Turner <zturner@google.com>
Tue, 10 Feb 2015 21:17:52 +0000 (21:17 +0000)
committerZachary Turner <zturner@google.com>
Tue, 10 Feb 2015 21:17:52 +0000 (21:17 +0000)
commit8ffa03cd986b3c399bd288b690ef99301b7ebdb5
tree5a9f30113ae94dda08e139963b834c34724d592c
parentbeded8f64d6a06a61d514a2dae21c1882574e90f
Provide DIA implementation of DebugInfoPDB.

This implements DebugInfoPDB when the DIA SDK is present on the system.
Specifically, this means that the following conditions are met:
  1) You are building on Windows.
  2) You are building with MSVC.
  3) Visual Studio did not corrupt the installation of DIA due to a
     known issue with side-by-side installations of VS2012 and VS2013.
If all of these conditions are true, you will be able to pass a value
of PDB_Reader::DIA to PDB::createPdbReader().

There are no tests for this yet, as any test will be in the form of a
lit test which tests the llvm-pdbdump.exe, which still needs to be
rewritten in terms of this library.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228747 91177308-0d34-0410-b5e6-96231b3b80d8
27 files changed:
include/llvm/DebugInfo/PDB/DIA/DIADataStream.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/DIA/DIAEnumLineNumbers.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/DIA/DIAEnumSourceFiles.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/DIA/DIAEnumSymbols.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/DIA/DIALineNumber.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/DIA/DIASession.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/DIA/DIASupport.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/IPDBDataStream.h
include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
include/llvm/DebugInfo/PDB/IPDBSession.h
include/llvm/DebugInfo/PDB/IPDBSourceFile.h
include/llvm/DebugInfo/PDB/PDBSymbolExe.h
include/llvm/DebugInfo/PDB/PDBTypes.h
lib/DebugInfo/PDB/CMakeLists.txt
lib/DebugInfo/PDB/DIA/DIADataStream.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/DIA/DIAEnumDebugStreams.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/DIA/DIAEnumLineNumbers.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/DIA/DIAEnumSourceFiles.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/DIA/DIAEnumSymbols.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/DIA/DIALineNumber.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/DIA/DIASession.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/DIA/DIASourceFile.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/PDB.cpp