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

Tagged union holding either a T or a Error.

Parameters

NameDescription
IDA reference to a BuildID in binary form.