[#llvm-getCachedOrDownloadExecutable] = xref:llvm.adoc[llvm]::getCachedOrDownloadExecutable :relfileprefix: ../ :mrdocs: Fetches an executable by searching the default local cache directory and server URLs. == Synopsis Declared in `<llvm/Debuginfod/Debuginfod.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/Expected.adoc[Expected<std::string>] getCachedOrDownloadExecutable(xref:llvm/object/BuildIDRef.adoc[object::BuildIDRef] ID); ---- == Return Value Local path to the cached or downloaded executable, or an error. == Parameters [cols="1,4"] |=== | Name| Description | *ID* | Build ID of the executable to fetch. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#