LLVM 22.0.0git
llvm::DebuginfodCollection Class Reference

Tracks a collection of debuginfod artifacts on the local filesystem. More...

#include "llvm/Debuginfod/Debuginfod.h"

Public Member Functions

 DebuginfodCollection (ArrayRef< StringRef > Paths, DebuginfodLog &Log, ThreadPoolInterface &Pool, double MinInterval)
Error update ()
Error updateForever (std::chrono::milliseconds Interval)
Expected< std::string > findDebugBinaryPath (object::BuildIDRef)
Expected< std::string > findBinaryPath (object::BuildIDRef)

Detailed Description

Tracks a collection of debuginfod artifacts on the local filesystem.

Definition at line 124 of file Debuginfod.h.

Constructor & Destructor Documentation

◆ DebuginfodCollection()

llvm::DebuginfodCollection::DebuginfodCollection ( ArrayRef< StringRef > Paths,
DebuginfodLog & Log,
ThreadPoolInterface & Pool,
double MinInterval )

Definition at line 362 of file Debuginfod.cpp.

Member Function Documentation

◆ findBinaryPath()

Expected< std::string > llvm::DebuginfodCollection::findBinaryPath ( object::BuildIDRef ID)

◆ findDebugBinaryPath()

Expected< std::string > llvm::DebuginfodCollection::findDebugBinaryPath ( object::BuildIDRef ID)

◆ update()

Error llvm::DebuginfodCollection::update ( )

Definition at line 371 of file Debuginfod.cpp.

References llvm::Error::success().

Referenced by updateForever().

◆ updateForever()

Error llvm::DebuginfodCollection::updateForever ( std::chrono::milliseconds Interval)

Definition at line 399 of file Debuginfod.cpp.

References llvm_unreachable, and update().


The documentation for this class was generated from the following files: