llvm::getCachedOrDownloadExecutable

Fetches an executable by searching the default local cache directory and server URLs.

Synopsis

Declared in <llvm/Debuginfod/Debuginfod.h>

Expected<std::string>
getCachedOrDownloadExecutable(object::BuildIDRef ID);

Return Value

Local path to the cached or downloaded executable, or an error.

Parameters

NameDescription
IDBuild ID of the executable to fetch.