Home
last modified time | relevance | path

Searched refs:StdoutOrErr (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DCuda.cpp796 auto StdoutOrErr = executeToolChainProgram(Program, /*SecondsToWait=*/10); in getSystemGPUArchs() local
797 if (!StdoutOrErr) in getSystemGPUArchs()
798 return StdoutOrErr.takeError(); in getSystemGPUArchs()
801 for (StringRef Arch : llvm::split((*StdoutOrErr)->getBuffer(), "\n")) in getSystemGPUArchs()
H A DAMDGPU.cpp885 auto StdoutOrErr = executeToolChainProgram(Program, /*SecondsToWait=*/10); in getSystemGPUArchs() local
886 if (!StdoutOrErr) in getSystemGPUArchs()
887 return StdoutOrErr.takeError(); in getSystemGPUArchs()
890 for (StringRef Arch : llvm::split((*StdoutOrErr)->getBuffer(), "\n")) in getSystemGPUArchs()