ΒΆExpected<std::string> getCachedOrDownloadArtifact(
    llvm::StringRef UniqueKey,
    llvm::StringRef UrlPath,
    llvm::StringRef CacheDirectoryPath,
    ArrayRef<llvm::StringRef> DebuginfodUrls,
    std::chrono::milliseconds Timeout)

Description

Fetches any debuginfod artifact using the specified local cache directory, server URLs, and request timeout (in milliseconds). If the artifact is found, uses the UniqueKey for the local cache file.

Declared at: llvm/include/llvm/Debuginfod/Debuginfod.h:76

Parameters

llvm::StringRef UniqueKey
llvm::StringRef UrlPath
llvm::StringRef CacheDirectoryPath
ArrayRef<llvm::StringRef> DebuginfodUrls
std::chrono::milliseconds Timeout