mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
9a2aa250f9
Differential Revision: http://reviews.llvm.org/D19940 Reviewed By: rnk llvm-svn: 268791
31 lines
808 B
C++
31 lines
808 B
C++
//===- PDB.h - base header file for creating a PDB reader -------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_DEBUGINFO_PDB_PDB_H
|
|
#define LLVM_DEBUGINFO_PDB_PDB_H
|
|
|
|
#include "PDBTypes.h"
|
|
#include "llvm/Support/Error.h"
|
|
#include <memory>
|
|
#include <system_error>
|
|
|
|
namespace llvm {
|
|
class StringRef;
|
|
|
|
namespace pdb {
|
|
|
|
Error loadDataForPDB(PDB_ReaderType Type, StringRef Path,
|
|
std::unique_ptr<IPDBSession> &Session);
|
|
|
|
Error loadDataForEXE(PDB_ReaderType Type, StringRef Path,
|
|
std::unique_ptr<IPDBSession> &Session);
|
|
}
|
|
}
|
|
#endif
|