10 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIASESSION_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIASESSION_H
17 #include <system_error>
25 explicit DIASession(CComPtr<IDiaSession> DiaSession);
28 std::unique_ptr<IPDBSession> &Session);
30 std::unique_ptr<IPDBSession> &Session);
37 std::unique_ptr<PDBSymbol>
40 std::unique_ptr<IPDBEnumLineNumbers>
43 std::unique_ptr<IPDBEnumLineNumbers>
46 std::unique_ptr<IPDBEnumSourceFiles>
49 std::unique_ptr<IPDBSourceFile>
53 std::unique_ptr<IPDBEnumChildren<PDBSymbolCompiland>>
56 std::unique_ptr<PDBSymbolCompiland>
62 std::unique_ptr<IPDBSourceFile>
68 CComPtr<IDiaSession> Session;
IPDBSession defines an interface used to provide a context for querying debug information from a debu...
PDB_NameSearchFlags
Defines flags used for enumerating child symbols.
std::unique_ptr< PDBSymbol > findSymbolByAddress(uint64_t Address, PDB_SymType Type) const override
std::unique_ptr< IPDBEnumChildren< PDBSymbolCompiland > > findCompilandsForSourceFile(llvm::StringRef Pattern, PDB_NameSearchFlags Flags) const override
IPDBSourceFile defines an interface used to represent source files whose information are stored in th...
std::unique_ptr< IPDBSourceFile > getSourceFileById(uint32_t FileId) const override
struct fuzzer::@269 Flags
std::unique_ptr< IPDBEnumSourceFiles > findSourceFiles(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern, PDB_NameSearchFlags Flags) const override
static Error createFromPdb(StringRef Path, std::unique_ptr< IPDBSession > &Session)
std::unique_ptr< IPDBSourceFile > findOneSourceFile(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern, PDB_NameSearchFlags Flags) const override
std::unique_ptr< IPDBEnumLineNumbers > findLineNumbersByAddress(uint64_t Address, uint32_t Length) const override
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx.
std::unique_ptr< IPDBEnumSourceFiles > getSourceFilesForCompiland(const PDBSymbolCompiland &Compiland) const override
The instances of the Type class are immutable: once they are created, they are never changed...
std::unique_ptr< IPDBEnumSourceFiles > getAllSourceFiles() const override
DIASession(CComPtr< IDiaSession > DiaSession)
std::unique_ptr< IPDBEnumLineNumbers > findLineNumbers(const PDBSymbolCompiland &Compiland, const IPDBSourceFile &File) const override
std::unique_ptr< IPDBEnumDataStreams > getDebugStreams() const override
std::unique_ptr< PDBSymbolCompiland > findOneCompilandForSourceFile(llvm::StringRef Pattern, PDB_NameSearchFlags Flags) const override
std::unique_ptr< PDBSymbol > getSymbolById(uint32_t SymbolId) const override
static Error createFromExe(StringRef Path, std::unique_ptr< IPDBSession > &Session)
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
void setLoadAddress(uint64_t Address) override
std::unique_ptr< PDBSymbolExe > getGlobalScope() const override
uint64_t getLoadAddress() const override