Home
last modified time | relevance | path

Searched refs:GetPath (Results 1 – 25 of 123) sorted by relevance

12345

/freebsd/contrib/llvm-project/lldb/source/Target/
H A DModuleCache.cpp70 return fs::create_directories(dir_path.GetPath(), true, fs::perms::owner_all); in MakeDirectory()
79 return FileSpec(module_file_spec.GetPath() + kSymFileExtension); in GetSymbolFileSpec()
104 if (status(sysroot_module_path_spec.GetPath(), st)) in DeleteExistingModule()
111 llvm::sys::fs::remove_directories(module_spec_dir.GetPath()); in DeleteExistingModule()
121 llvm::sys::fs::remove(sysroot_module_path_spec.GetPath()); in DecrementRefExistingModule()
124 llvm::sys::fs::remove(symfile_spec.GetPath()); in DecrementRefExistingModule()
134 platform_module_spec.GetPath().c_str()); in CreateHostSysRootModuleLink()
147 return llvm::sys::fs::create_hard_link(local_module_spec.GetPath(), in CreateHostSysRootModuleLink()
148 sysroot_module_path_spec.GetPath()); in CreateHostSysRootModuleLink()
186 llvm::sys::fs::remove(m_file_spec.GetPath()); in Delete()
[all …]
H A DPlatform.cpp283 strm.Printf("WorkingDir: %s\n", GetWorkingDirectory().GetPath().c_str()); in GetStatus()
406 dst_dir.GetPath().c_str()); in RecurseCopy_Callback()
411 std::string src_dir_path(src.GetPath()); in RecurseCopy_Callback()
465 "invalid file detected during copy: %s", src.GetPath().c_str()); in RecurseCopy_Callback()
477 src.GetPath().c_str(), dst.GetPath().c_str()); in Install()
499 relative_spec.AppendPathComponent(dst.GetPath()); in Install()
504 dst.GetPath().c_str()); in Install()
514 dst.GetPath().c_str()); in Install()
529 src.GetPath().c_str(), dst.GetPath().c_str(), in Install()
530 fixed_dst.GetPath().c_str()); in Install()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp64 return DirBegin(file_spec.GetPath(), ec); in DirBegin()
77 return GetStatus(file_spec.GetPath()); in GetStatus()
88 return GetModificationTime(file_spec.GetPath()); in GetModificationTime()
101 return GetByteSize(file_spec.GetPath()); in GetByteSize()
112 return GetPermissions(file_spec.GetPath()); in GetPermissions()
119 return GetPermissions(file_spec.GetPath(), ec); in GetPermissions()
140 return file_spec && Exists(file_spec.GetPath()); in Exists()
148 return file_spec && Readable(file_spec.GetPath()); in Readable()
159 return file_spec && IsDirectory(file_spec.GetPath()); in IsDirectory()
169 return file_spec && IsLocal(file_spec.GetPath()); in IsLocal()
[all...]
H A DFileAction.cpp28 llvm::StringRef FileAction::GetPath() const { in GetPath() function in FileAction
86 m_file_spec.GetPath().c_str(), m_arg); in Dump()
H A DHostInfoBase.cpp43 llvm::sys::fs::remove_directories(m_lldb_process_tmp_dir.GetPath()); in ~HostInfoBaseFields()
227 std::string raw_path = lldb_file_spec.GetPath(); in ComputePathRelativeToLibrary()
275 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeProcessTempFileDirectory()
298 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeGlobalTempFileDirectory()
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DFileSystemPosix.cpp38 if (::symlink(dst.GetPath().c_str(), src.GetPath().c_str()) == -1) in Symlink()
46 ssize_t count = ::readlink(src.GetPath().c_str(), buf, sizeof(buf) - 1); in Readlink()
58 if (!src.GetPath(resolved_path, sizeof(resolved_path))) { in ResolveSymbolicLink()
60 src.GetPath().c_str()); in ResolveSymbolicLink()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTBundleSaver.cpp38 return path.GetPath().substr(directory.GetPath().size() + 1); in GetRelativePath()
46 output_file.GetPath().c_str(), std::ios::out | std::ios::binary); in WriteBytesToDisk()
54 output_file.GetPath().c_str())); in WriteBytesToDisk()
75 std::ofstream os(trace_path.GetPath()); in SaveTraceBundleDescription()
81 trace_path.GetPath().c_str())); in SaveTraceBundleDescription()
104 sys::fs::create_directories(threads_dir.GetPath().c_str()); in BuildThreadsSection()
201 sys::fs::create_directories(cpus_dir.GetPath().c_str()); in BuildCpusSection()
254 std::string system_path = module_sp->GetPlatformFileSpec().GetPath(); in BuildModulesSection()
259 std::string file = module_sp->GetFileSpec().GetPath(); in BuildModulesSection()
279 llvm::sys::fs::copy_file(file, path_to_copy_module.GetPath())) in BuildModulesSection()
[all …]
H A DTraceIntelPTBundleLoader.cpp398 module.system_path = NormalizePath(module.system_path).GetPath(); in NormalizeAllPaths()
400 module.file = NormalizePath(*module.file).GetPath(); in NormalizeAllPaths()
404 thread.ipt_trace = NormalizePath(*thread.ipt_trace).GetPath(); in NormalizeAllPaths()
411 NormalizePath(cpu.context_switch_trace).GetPath(); in NormalizeAllPaths()
412 cpu.ipt_trace = NormalizePath(cpu.ipt_trace).GetPath(); in NormalizeAllPaths()
417 NormalizePath(bundle_description.kernel->file).GetPath(); in NormalizeAllPaths()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp326 std::string path{GetPath(true)}; in Dump()
367 size_t FileSpec::GetPath(char *path, size_t path_max_len, in GetPath() function in FileSpec
372 std::string result = GetPath(denormalize); in GetPath()
377 std::string FileSpec::GetPath(bool denormalize) const { in GetPath() function in FileSpec
379 GetPath(result, denormalize); in GetPath()
384 return ConstString{GetPath(denormalize)}; in GetPathAsConstString()
387 void FileSpec::GetPath(llvm::SmallVectorImpl<char> &path, in GetPath() function in FileSpec
426 GetPath(current_path, false); in CopyByRemovingLastPathComponent()
436 GetPath(current_path, false); in PrependPathComponent()
444 return PrependPathComponent(new_path.GetPath(fals in PrependPathComponent()
[all...]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DLocateSymbolFileMacOSX.cpp
H A DLocateSymbolFile.cpp
H A DObjectFile.cpp59 module_sp->GetFileSpec().GetPath().c_str(), in FindPlugin()
86 file->GetPath(), g_initial_bytes_to_read, file_offset); in FindPlugin()
94 module_sp->GetFileSpec().GetPath(path_with_object); in FindPlugin()
119 archive_file.GetPath(), g_initial_bytes_to_read, file_offset); in FindPlugin()
162 module_sp->GetFileSpec().GetPath().c_str(), in FindPlugin()
203 file.GetPath(), g_initial_bytes_to_read, file_offset); in GetModuleSpecifications()
270 m_file ? m_file.GetPath().c_str() : "<NULL>", m_file_offset, in ObjectFile()
672 return FileSystem::Instance().CreateDataBuffer(file.GetPath(), Size, Offset); in MapFileData()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/
H A DSymbolLocatorDebugSymbols.cpp134 if (exec_fspec->GetPath(exec_cf_path, sizeof(exec_cf_path))) in LocateExecutableObjectFile()
197 module_spec.GetFileSpec().GetPath().c_str(), in LocateExecutableObjectFile()
206 module_spec.GetFileSpec().GetPath()); in LocateExecutableObjectFile()
217 module_spec.GetFileSpec().GetPath().c_str(), in LocateExecutableObjectFile()
259 switch (get_file_type(file_spec.GetPath())) { in LocateExecutableObjectFile()
331 std::string dsym_bundle_path = dsym_bundle_fspec.GetPath(); in FindSymbolFileInBundle()
480 dsym_fspec.GetPath().c_str()); in LocateDSYMInVincinityOfExecutable()
512 dsym_fspec.GetPath().c_str()); in LocateDSYMInVincinityOfExecutable()
576 if (exec_fspec->GetPath(exec_cf_path, sizeof(exec_cf_path))) in LocateMacOSXFilesUsingDebugSymbols()
639 module_spec.GetFileSpec().GetPath().c_str(), in LocateMacOSXFilesUsingDebugSymbols()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp53 std::string raw_path = lldb_shlib_spec.GetPath(); in DefaultComputeClangResourceDirectory()
95 std::string raw_path = lldb_shlib_spec.GetPath(); in ComputeClangResourceDirectory()
150 raw_path = lldb_shlib_spec.GetPath(); in ComputeClangResourceDirectory()
168 g_cached_resource_dir.GetPath().c_str()); in GetClangResourceDir()
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-platform.cpp100 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()
106 if (auto Err = llvm::writeToOutput(file_spec.GetPath(), in save_socket_id_to_file()
112 file_spec.GetPath().c_str(), in save_socket_id_to_file()
280 socket_file.GetPath().c_str(), error.AsCString()); in main_platform()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBFileSpec.cpp140 uint32_t SBFileSpec::GetPath(char *dst_path, size_t dst_len) const { in GetPath() function in SBFileSpec
143 uint32_t result = m_opaque_up->GetPath(dst_path, dst_len); in GetPath()
173 if (m_opaque_up->GetPath(path, sizeof(path))) in GetDescription()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp106 const auto module_path = module_file_spec.GetPath(false); in GetModuleSpec()
188 working_dir.GetPath().c_str()); in GetRemoteWorkingDirectory()
202 working_dir.GetPath().c_str()); in SetRemoteWorkingDirectory()
380 args.ReplaceArgumentAtIndex(0, exe_file.GetPath(false)); in LaunchProcess()
551 file_spec.GetPath().c_str(), mode, error.GetError(), in MakeDirectory()
566 file_spec.GetPath().c_str(), file_permissions, error.GetError(), in GetFilePermissions()
581 file_spec.GetPath().c_str(), file_permissions, error.GetError(), in SetFilePermissions()
650 src.GetPath().c_str(), dst.GetPath().c_str(), error.GetError(), in CreateSymlink()
661 file_spec.GetPath().c_str(), error.GetError(), error.AsCString()); in Unlink()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DFileSpec.h299 size_t GetPath(char *path, size_t max_path_length,
309 std::string GetPath(bool denormalize = true) const;
315 /// Anyone needing the path temporarily should use the GetPath() method that
322 void GetPath(llvm::SmallVectorImpl<char> &path,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/
H A DObjectFileCOFF.cpp57 file->GetPath()); in CreateInstance()
73 file->GetPath()); in CreateInstance()
87 file->GetPath()); in CreateInstance()
93 file->GetPath()); in CreateInstance()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/
H A DProcessFreeBSDKernel.cpp82 fvc_open(executable->GetFileSpec().GetPath().c_str(), in CreateInstance()
83 crash_file->GetPath().c_str(), nullptr, nullptr, nullptr); in CreateInstance()
91 kvm_open2(executable->GetFileSpec().GetPath().c_str(), in CreateInstance()
92 crash_file->GetPath().c_str(), O_RDONLY, nullptr, nullptr); in CreateInstance()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DModule.cpp147 module_spec.GetFileSpec().GetPath().c_str(), in Module()
253 m_file.GetPath().c_str(), m_object_name.IsEmpty() ? "" : "(", in Module()
281 m_file.GetPath().c_str(), m_object_name.IsEmpty() ? "" : "(", in ~Module()
590 file_spec.GetPath().c_str(), line, in ResolveSymbolContextsForFileSpec()
1038 std::string spec(GetFileSpec().GetPath()); in GetSpecificationDescription()
1060 if (m_file.GetPath(path, sizeof(path))) in GetDescription()
1165 s->Printf("Module %s%s%s%s\n", m_file.GetPath().c_str(), in Dump()
1216 GetFileSpec().GetPath().c_str()); in GetObjectFile()
1369 std::string new_path(file.GetPath()); in SetSymbolFileFileSpec()
1370 std::string old_path(obj_file->GetFileSpec().GetPath()); in SetSymbolFileFileSpec()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Default/
H A DSymbolLocatorDefault.cpp190 std::string dirname = dirspec.GetPath(); in LocateExecutableSymbolFile()
213 if (llvm::sys::fs::equivalent(file_spec.GetPath(), in LocateExecutableSymbolFile()
214 module_file_spec.GetPath())) in LocateExecutableSymbolFile()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectDiagnostics.cpp72 llvm::sys::fs::create_directories(m_options.directory.GetPath()); in GetDirectory()
91 directory->GetPath().c_str()); in DoExecute()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueFileSpec.cpp44 strm << '"' << m_current_value.GetPath().c_str() << '"'; in DumpValue()
97 FileSystem::Instance().CreateDataBuffer(m_current_value.GetPath()); in GetFileContents()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp102 std::string src_path(source.GetPath()); in PutFile()
105 std::string dst_path(destination.GetPath()); in PutFile()
122 std::string src_path(source.GetPath()); in PutFile()
125 std::string dst_path(destination.GetPath()); in PutFile()
163 std::string src_path(source.GetPath()); in GetFile()
166 std::string dst_path(destination.GetPath()); in GetFile()
388 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in Attach()
681 path = remote_file.GetPath(false); in DoLoadImage()

12345