Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DHostInfoBase.cpp269 FileSpec temp_file_spec; in ComputeProcessTempFileDirectory() local
270 if (!HostInfo::ComputeGlobalTempFileDirectory(temp_file_spec)) in ComputeProcessTempFileDirectory()
274 temp_file_spec.AppendPathComponent(pid_str); in ComputeProcessTempFileDirectory()
275 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeProcessTempFileDirectory()
278 file_spec.SetDirectory(temp_file_spec.GetPathAsConstString()); in ComputeProcessTempFileDirectory()
293 FileSpec temp_file_spec; in ComputeGlobalTempFileDirectory() local
294 if (!HostInfo::ComputeTempFileBaseDirectory(temp_file_spec)) in ComputeGlobalTempFileDirectory()
297 temp_file_spec.AppendPathComponent("lldb"); in ComputeGlobalTempFileDirectory()
298 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeGlobalTempFileDirectory()
301 file_spec.SetDirectory(temp_file_spec.GetPathAsConstString()); in ComputeGlobalTempFileDirectory()
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-platform.cpp99 FileSpec temp_file_spec(file_spec.GetDirectory().GetStringRef()); in save_socket_id_to_file() local
100 Status error(llvm::sys::fs::create_directory(temp_file_spec.GetPath())); in save_socket_id_to_file()
103 temp_file_spec.GetPath().c_str(), error.AsCString()); in save_socket_id_to_file()