1 //===- PDB.h - base header file for creating a PDB reader -------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_PDB_PDB_H
11 #define LLVM_DEBUGINFO_PDB_PDB_H
13 #include "llvm/ADT/StringRef.h"
14 #include "llvm/DebugInfo/PDB/PDBTypes.h"
15 #include "llvm/Support/Error.h"
23 Error loadDataForPDB(PDB_ReaderType Type, StringRef Path,
24 std::unique_ptr<IPDBSession> &Session);
26 Error loadDataForEXE(PDB_ReaderType Type, StringRef Path,
27 std::unique_ptr<IPDBSession> &Session);
29 } // end namespace pdb
30 } // end namespace llvm
32 #endif // LLVM_DEBUGINFO_PDB_PDB_H