llvm::DebuginfodFetcher::fetch

fetch overloads

Synopses

Declared in <llvm/Debuginfod/BuildIDFetcher.h>

Returns the path to the debug file with the given build ID.

virtual
Expected<std::string>
fetch(BuildIDRef BuildID) const;
» more...

Fetches the given Build ID using debuginfod and returns a local path to the resulting file.

virtual
Expected<std::string>
fetch(object::BuildIDRef BuildID) const override;
» more...

Return Value

  • Path to the matching debug file, or an error if none is found.
  • Local path to the fetched debug file, or an error.

Parameters

NameDescription
BuildIDBuild ID of the debug file to locate.