diff options
| author | Zachary Turner <zturner@google.com> | 2015-04-17 22:40:36 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2015-04-17 22:40:36 +0000 |
| commit | 4b08354b0ebb5551048138148f61911bc1232491 (patch) | |
| tree | 5f268cad63b67dcd46c702b1f9f51c31ec39e696 /llvm/tools | |
| parent | d0a2482870218dce13c629f5acce96d8dafffcfd (diff) | |
| download | bcm5719-llvm-4b08354b0ebb5551048138148f61911bc1232491.tar.gz bcm5719-llvm-4b08354b0ebb5551048138148f61911bc1232491.zip | |
[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.
llvm-svn: 235237
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp b/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp index 78535ec0be9..597683291ff 100644 --- a/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp +++ b/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp @@ -101,7 +101,7 @@ cl::opt<bool> NoEnumDefs("no-enum-definitions", static void dumpInput(StringRef Path) { std::unique_ptr<IPDBSession> Session; PDB_ErrorCode Error = - llvm::createPDBReader(PDB_ReaderType::DIA, Path, Session); + llvm::loadDataForPDB(PDB_ReaderType::DIA, Path, Session); switch (Error) { case PDB_ErrorCode::Success: break; |

