Go to the documentation of this file.
11 #include "llvm/Config/config.h"
13 #if LLVM_ENABLE_DIA_SDK
23 std::unique_ptr<IPDBSession> &Session) {
28 #if LLVM_ENABLE_DIA_SDK
36 std::unique_ptr<IPDBSession> &Session) {
45 #if LLVM_ENABLE_DIA_SDK
This is an optimization pass for GlobalISel generic memory operations.
The instances of the Type class are immutable: once they are created, they are never changed.
Tagged union holding either a T or a Error.
Error loadDataForEXE(PDB_ReaderType Type, StringRef Path, std::unique_ptr< IPDBSession > &Session)
static Error createFromExe(StringRef Path, std::unique_ptr< IPDBSession > &Session)
static Error createFromPdbPath(StringRef PdbPath, std::unique_ptr< IPDBSession > &Session)
PDB_ReaderType
Specifies which PDB reader implementation is to be used.
static Error createFromPdb(StringRef Path, std::unique_ptr< IPDBSession > &Session)
Error loadDataForPDB(PDB_ReaderType Type, StringRef Path, std::unique_ptr< IPDBSession > &Session)
StringRef - Represent a constant reference to a string, i.e.
reference get()
Returns a reference to the stored T value.
Lightweight error class with error context and mandatory checking.
static Expected< std::string > searchForPdb(const PdbSearchOptions &Opts)
Error takeError()
Take ownership of the stored error.