LLVM 22.0.0git
|
BuildIDFetcher searches local cache directories for debug info. More...
#include "llvm/Object/BuildID.h"
Public Member Functions | |
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. |
BuildIDFetcher searches local cache directories for debug info.
|
inline |
Definition at line 42 of file BuildID.h.
References llvm::move().
Referenced by llvm::DebuginfodFetcher::DebuginfodFetcher().
|
virtualdefault |
References fetch().
|
virtual |
Returns the path to the debug file with the given build ID.
Reimplemented in llvm::DebuginfodFetcher.
Definition at line 68 of file BuildID.cpp.
References llvm::sys::path::append(), llvm::sys::fs::exists(), and llvm::toHex().
Referenced by llvm::InstrProfCorrelator::get(), llvm::coverage::CoverageMapping::load(), and ~BuildIDFetcher().