LLVM  14.0.0git
PDB.h
Go to the documentation of this file.
1 //===- PDB.h - base header file for creating a PDB reader -------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_DEBUGINFO_PDB_PDB_H
10 #define LLVM_DEBUGINFO_PDB_PDB_H
11 
12 #include "llvm/ADT/StringRef.h"
14 #include "llvm/Support/Error.h"
15 #include <memory>
16 
17 namespace llvm {
18 namespace pdb {
19 
20 class IPDBSession;
21 
22 Error loadDataForPDB(PDB_ReaderType Type, StringRef Path,
23  std::unique_ptr<IPDBSession> &Session);
24 
25 Error loadDataForEXE(PDB_ReaderType Type, StringRef Path,
26  std::unique_ptr<IPDBSession> &Session);
27 
28 } // end namespace pdb
29 } // end namespace llvm
30 
31 #endif // LLVM_DEBUGINFO_PDB_PDB_H
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::lltok::Error
@ Error
Definition: LLToken.h:21
StringRef.h
Error.h
llvm::pdb::loadDataForEXE
Error loadDataForEXE(PDB_ReaderType Type, StringRef Path, std::unique_ptr< IPDBSession > &Session)
Definition: PDB.cpp:36
llvm::pdb::PDB_ReaderType
PDB_ReaderType
Specifies which PDB reader implementation is to be used.
Definition: PDBTypes.h:80
PDBTypes.h
llvm::pdb::loadDataForPDB
Error loadDataForPDB(PDB_ReaderType Type, StringRef Path, std::unique_ptr< IPDBSession > &Session)
Definition: PDB.cpp:23
TemplateParamKind::Type
@ Type