LLVM: lib/DebugInfo/PDB/DIA/DIASession.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
template<typename... Ts>
static Error ErrorFromHResult (HRESULT Result, const char *Str, Ts &&... Args)
static Error LoadDIA (CComPtr< IDiaDataSource > &DiaDataSource)
template<class T>
static CComPtr< T > getTableEnumerator (IDiaSession &Session)

ErrorFromHResult()

template<typename... Ts>

Error ErrorFromHResult ( HRESULT Result, const char * Str, Ts &&... Args ) static

Definition at line 34 of file DIASession.cpp.

References llvm::pdb::already_loaded, llvm::pdb::debug_info_mismatch, llvm::errorCodeToError(), llvm::format_hex(), llvm::formatv(), llvm::pdb::invalid_file_format, llvm::pdb::invalid_parameter, llvm::make_error(), llvm::raw_string_ostream::str(), llvm::SmallString< InternalLen >::str(), and llvm::pdb::unspecified.

Referenced by llvm::pdb::DIASession::createFromExe(), llvm::pdb::DIASession::createFromPdb(), and LoadDIA().

getTableEnumerator()

template<class T>

CComPtr< T > getTableEnumerator ( IDiaSession & Session) static

LoadDIA()

Error LoadDIA ( CComPtr< IDiaDataSource > & DiaDataSource) static