LLVM 20.0.0git
|
#include "llvm/Debuginfod/BuildIDFetcher.h"
Public Member Functions | |
DebuginfodFetcher (std::vector< std::string > DebugFileDirectories) | |
virtual | ~DebuginfodFetcher ()=default |
std::optional< std::string > | fetch (object::BuildIDRef BuildID) const override |
Fetches the given Build ID using debuginfod and returns a local path to the resulting file. | |
Public Member Functions inherited from llvm::object::BuildIDFetcher | |
BuildIDFetcher (std::vector< std::string > DebugFileDirectories) | |
virtual | ~BuildIDFetcher ()=default |
virtual std::optional< std::string > | fetch (BuildIDRef BuildID) const |
Returns the path to the debug file with the given build ID. | |
Definition at line 23 of file BuildIDFetcher.h.
|
inline |
Definition at line 25 of file BuildIDFetcher.h.
|
virtualdefault |
|
overridevirtual |
Fetches the given Build ID using debuginfod and returns a local path to the resulting file.
Reimplemented from llvm::object::BuildIDFetcher.
Definition at line 22 of file BuildIDFetcher.cpp.
References llvm::consumeError(), llvm::getCachedOrDownloadDebuginfo(), and llvm::Expected< T >::takeError().