PDB.h 766 B

1234567891011121314151617181920212223242526
  1. //===- PDB.h - base header file for creating a PDB reader -------*- C++ -*-===//
  2. //
  3. // The LLVM Compiler Infrastructure
  4. //
  5. // This file is distributed under the University of Illinois Open Source
  6. // License. See LICENSE.TXT for details.
  7. //
  8. //===----------------------------------------------------------------------===//
  9. #ifndef LLVM_DEBUGINFO_PDB_PDB_H
  10. #define LLVM_DEBUGINFO_PDB_PDB_H
  11. #include "PDBTypes.h"
  12. #include <memory>
  13. namespace llvm {
  14. class StringRef;
  15. PDB_ErrorCode loadDataForPDB(PDB_ReaderType Type, StringRef Path,
  16. std::unique_ptr<IPDBSession> &Session);
  17. PDB_ErrorCode loadDataForEXE(PDB_ReaderType Type, StringRef Path,
  18. std::unique_ptr<IPDBSession> &Session);
  19. }
  20. #endif