Home
last modified time | relevance | path

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

12345

/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DModuleCache.cpp78 return FileSpec(module_file_spec.GetPath() + kSymFileExtension); in GetSymbolFileSpec()
103 if (status(sysroot_module_path_spec.GetPath(), st)) in DeleteExistingModule()
110 llvm::sys::fs::remove_directories(module_spec_dir.GetPath()); in DeleteExistingModule()
120 llvm::sys::fs::remove(sysroot_module_path_spec.GetPath()); in DecrementRefExistingModule()
123 llvm::sys::fs::remove(symfile_spec.GetPath()); in DecrementRefExistingModule()
133 platform_module_spec.GetPath().c_str()); in CreateHostSysRootModuleLink()
146 return llvm::sys::fs::create_hard_link(local_module_spec.GetPath(), in CreateHostSysRootModuleLink()
185 llvm::sys::fs::remove(m_file_spec.GetPath()); in Delete()
198 const auto tmp_file_path = tmp_file.GetPath(); in Put()
203 module_file_path.GetPath().c_str(), in Put()
[all …]
H A DPlatform.cpp579 std::string src_dir_path(src.GetPath()); in RecurseCopy_Callback()
645 src.GetPath().c_str(), dst.GetPath().c_str()); in Install()
672 dst.GetPath().c_str()); in Install()
682 dst.GetPath().c_str()); in Install()
697 src.GetPath().c_str(), dst.GetPath().c_str(), in Install()
698 fixed_dst.GetPath().c_str()); in Install()
706 llvm::sys::fs::remove(fixed_dst.GetPath()); in Install()
716 std::string src_dir_path(src.GetPath()); in Install()
725 llvm::sys::fs::remove(fixed_dst.GetPath()); in Install()
730 llvm::sys::fs::remove(fixed_dst.GetPath()); in Install()
[all …]
H A DRemoteAwarePlatform.cpp45 resolved_module_spec.GetFileSpec().GetPath(exe_path, sizeof(exe_path)); in ResolveExecutable()
66 resolved_module_spec.GetFileSpec().GetPath().c_str()); in ResolveExecutable()
70 resolved_module_spec.GetFileSpec().GetPath().c_str()); in ResolveExecutable()
127 resolved_module_spec.GetFileSpec().GetPath().c_str(), in ResolveExecutable()
159 resolved_module_spec.GetFileSpec().GetPath().c_str(), in ResolveExecutable()
164 resolved_module_spec.GetFileSpec().GetPath().c_str()); in ResolveExecutable()
259 if (llvm::sys::fs::file_size(file_spec.GetPath(), Size)) in GetFileSize()
287 return llvm::sys::fs::remove(file_spec.GetPath()); in Unlink()
H A DPathMappingList.cpp36 return ConstString(FileSpec(path.GetStringRef()).GetPath()); in NormalizePath()
149 new_path.SetString(remapped->GetPath()); in RemapPath()
205 std::string path = file.GetPath(); in ReverseRemapPath()
221 if (auto remapped = RemapPath(orig_spec.GetPath(), /*only_if_exists=*/true)) in FindFile()
H A DTargetList.cpp156 module_spec.GetFileSpec().GetPath().c_str()); in CreateTargetInternal()
357 "\"%s\" doesn't contain architecture %s", file.GetPath().c_str(), in CreateTargetInternal()
361 file.GetPath().c_str()); in CreateTargetInternal()
368 exe_module_sp->GetFileSpec().GetPath(resolved_bundle_exe_path, in CreateTargetInternal()
392 target_sp->SetArg0(file.GetPath().c_str()); in CreateTargetInternal()
/freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp95 return DirBegin(file_spec.GetPath(), ec); in DirBegin()
108 return GetStatus(file_spec.GetPath()); in GetStatus()
119 return GetModificationTime(file_spec.GetPath()); in GetModificationTime()
132 return GetByteSize(file_spec.GetPath()); in GetByteSize()
143 return GetPermissions(file_spec.GetPath()); in GetPermissions()
150 return GetPermissions(file_spec.GetPath(), ec); in GetPermissions()
239 file_spec.GetPath(path, false); in MakeAbsolute()
283 file_spec.GetPath(path); in Resolve()
453 Collect(file_spec.GetPath()); in Open()
496 return GetExternalPath(file_spec.GetPath()); in GetExternalPath()
[all …]
H A DHostInfoBase.cpp41 llvm::sys::fs::remove_directories(m_lldb_process_tmp_dir.GetPath()); in ~HostInfoBaseFields()
220 std::string raw_path = lldb_file_spec.GetPath(); in ComputePathRelativeToLibrary()
273 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeProcessTempFileDirectory()
296 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeGlobalTempFileDirectory()
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp325 std::string path{GetPath(true)}; in Dump()
353 std::string result = GetPath(denormalize); in GetPath()
358 std::string FileSpec::GetPath(bool denormalize) const { in GetPath() function in FileSpec
360 GetPath(result, denormalize); in GetPath()
408 GetPath(current_path, false); in CopyByRemovingLastPathComponent()
417 GetPath(current_path, false); in GetLastPathComponent()
424 GetPath(current_path, false); in PrependPathComponent()
437 GetPath(current_path, false); in AppendPathComponent()
443 return AppendPathComponent(new_path.GetPath(false)); in AppendPathComponent()
448 GetPath(current_path, false); in RemoveLastPathComponent()
[all …]
H A DReproducer.cpp40 auto ec = sys::fs::create_directory(root->GetPath()); in Initialize()
149 file_spec.GetPath(path, false); in MakeAbsolute()
197 llvm::sys::fs::remove_directories(m_root.GetPath()); in Discard()
211 auto strm = std::make_unique<raw_fd_ostream>(index.GetPath(), EC, in AddProvidersToIndex()
234 auto error_or_file = MemoryBuffer::getFile(index.GetPath()); in LoadIndex()
269 vfs::getRealFileSystem()->getBufferForFile(vfs_mapping.GetPath()); in Verify()
276 std::move(buffer.get()), nullptr, vfs_mapping.GetPath()); in Verify()
374 reproducer_root.CopyByAppendingPathComponent("dirs.txt").GetPath(); in Finalize()
377 reproducer_root.CopyByAppendingPathComponent("root").GetPath(), in Finalize()
378 reproducer_root.GetPath()); in Finalize()
[all …]
H A DReproducerProvider.cpp42 llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF); in Keep()
106 files.push_back(recorder->GetFilename().GetPath()); in Keep()
111 llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF); in Keep()
149 m_symbol_files.emplace_back(uuid->GetAsString(), module_file.GetPath(), in AddSymbolFile()
150 symbol_file.GetPath()); in AddSymbolFile()
156 llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF); in Keep()
178 auto error_or_file = llvm::MemoryBuffer::getFile(file.GetPath()); in SymbolFileLoader()
H A DGDBRemote.cpp102 files.push_back(recorder->GetFilename().GetPath()); in Keep()
107 llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF); in Keep()
154 history_file.GetPath(), EC, sys::fs::OpenFlags::OF_TextWithCRLF); in GetHistoryStream()
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBFileSpec.cpp145 uint32_t SBFileSpec::GetPath(char *dst_path, size_t dst_len) const { in GetPath() function in SBFileSpec
146 LLDB_RECORD_CHAR_PTR_METHOD_CONST(uint32_t, SBFileSpec, GetPath, in GetPath()
149 uint32_t result = m_opaque_up->GetPath(dst_path, dst_len); in GetPath()
180 if (m_opaque_up->GetPath(path, sizeof(path))) in GetDescription()
219 LLDB_REGISTER_CHAR_PTR_METHOD_CONST(uint32_t, SBFileSpec, GetPath); in RegisterMethods()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp51 std::string raw_path = lldb_shlib_spec.GetPath(); in DefaultComputeClangResourceDirectory()
89 std::string raw_path = lldb_shlib_spec.GetPath(); in ComputeClangResourceDirectory()
144 raw_path = lldb_shlib_spec.GetPath(); in ComputeClangResourceDirectory()
162 g_cached_resource_dir.GetPath().c_str()); in GetClangResourceDir()
H A DCppModuleConfiguration.cpp44 if (libcpp_regex.match(f.GetPath()) && in analyzeFile()
105 llvm::sys::path::append(resource_dir, GetClangResourceDir().GetPath(), in CppModuleConfiguration()
/freebsd-13.1/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-platform.cpp101 Status error(llvm::sys::fs::create_directory(temp_file_spec.GetPath())); in save_socket_id_to_file()
108 temp_file_path = temp_file_spec.GetPath(); in save_socket_id_to_file()
113 temp_file_path, file_spec.GetPath(), socket_id), in save_socket_id_to_file()
130 file_spec.GetPath().c_str(), in save_socket_id_to_file()
136 file_spec.GetPath().c_str()); in save_socket_id_to_file()
304 socket_file.GetPath().c_str(), error.AsCString()); in main_platform()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DReproducerProvider.h35 m_os(filename.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF), in AbstractRecorder()
121 directory.CopyByAppendingPathComponent("files.txt").GetPath(), in FileProvider()
122 directory.CopyByAppendingPathComponent("dirs.txt").GetPath(), ec); in FileProvider()
172 llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF); in Keep()
289 files.push_back(recorder->GetFilename().GetPath()); in Keep()
294 llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF); in Keep()
366 auto error_or_file = llvm::MemoryBuffer::getFile(file.GetPath()); in Create()
380 file = absolute_path.GetPath(); in Create()
H A DFileSpec.h290 size_t GetPath(char *path, size_t max_path_length,
300 std::string GetPath(bool denormalize = true) const;
307 void GetPath(llvm::SmallVectorImpl<char> &path,
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DLocateSymbolFile.cpp162 dsym_fspec.GetPath().c_str()); in LocateDSYMInVincinityOfExecutable()
194 dsym_fspec.GetPath().c_str()); in LocateDSYMInVincinityOfExecutable()
327 std::string dirname = dirspec.GetPath(); in LocateExecutableSymbolFile()
350 if (llvm::sys::fs::equivalent(file_spec.GetPath(), in LocateExecutableSymbolFile()
351 module_file_spec.GetPath())) in LocateExecutableSymbolFile()
H A DLocateSymbolFileMacOSX.cpp99 if (exec_fspec->GetPath(exec_cf_path, sizeof(exec_cf_path))) in LocateMacOSXFilesUsingDebugSymbols()
191 switch (get_file_type(file_spec.GetPath())) { in LocateMacOSXFilesUsingDebugSymbols()
271 std::string dsym_bundle_path = dsym_bundle_fspec.GetPath(); in FindSymbolFileInBundle()
411 DBGSourcePath = resolved_source_path.GetPath(); in GetModuleSpecInfoFromUUIDDictionary()
428 ConstString(build_path.GetPath().c_str()), in GetModuleSpecInfoFromUUIDDictionary()
429 ConstString(source_path.GetPath().c_str()), true); in GetModuleSpecInfoFromUUIDDictionary()
459 DBGSourcePath = resolved_source_path.GetPath(); in GetModuleSpecInfoFromUUIDDictionary()
575 dsym_for_uuid_exe_spec.GetPath(g_dsym_for_uuid_exe_path, in DownloadObjectAndSymbolFile()
587 file_spec_ptr->GetPath(file_path, sizeof(file_path)); in DownloadObjectAndSymbolFile()
H A DObjectFile.cpp55 module_sp->GetFileSpec().GetPath().c_str(), in FindPlugin()
81 data_sp = FileSystem::Instance().CreateDataBuffer(file->GetPath(), 512, in FindPlugin()
90 module_sp->GetFileSpec().GetPath(path_with_object); in FindPlugin()
115 archive_file.GetPath(), 512, file_offset); in FindPlugin()
158 module_sp->GetFileSpec().GetPath().c_str(), in FindPlugin()
189 data_sp = FileSystem::Instance().CreateDataBuffer(file.GetPath(), 512, in GetModuleSpecifications()
258 m_file ? m_file.GetPath().c_str() : "<NULL>", m_file_offset, in ObjectFile()
656 return FileSystem::Instance().CreateDataBuffer(file.GetPath(), Size, Offset); in MapFileData()
/freebsd-13.1/contrib/llvm-project/lldb/source/Host/posix/
H A DFileSystemPosix.cpp46 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()
/freebsd-13.1/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-13.1/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp99 std::string src_path(source.GetPath()); in PutFile()
102 std::string dst_path(destination.GetPath()); in PutFile()
119 std::string src_path(source.GetPath()); in PutFile()
122 std::string dst_path(destination.GetPath()); in PutFile()
160 std::string src_path(source.GetPath()); in GetFile()
163 std::string dst_path(destination.GetPath()); in GetFile()
384 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in Attach()
709 path = remote_file.GetPath(); in DoLoadImage()
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DModule.cpp143 module_spec.GetFileSpec().GetPath().c_str(), in Module()
255 m_file.GetPath().c_str(), m_object_name.IsEmpty() ? "" : "(", in Module()
592 file_spec.GetPath().c_str(), line, in ResolveSymbolContextsForFileSpec()
1069 std::string spec(GetFileSpec().GetPath()); in GetSpecificationDescription()
1091 if (m_file.GetPath(path, sizeof(path))) in GetDescription()
1219 s->Printf("Module %s%s%s%s\n", m_file.GetPath().c_str(), in Dump()
1269 GetFileSpec().GetPath().c_str()); in GetObjectFile()
1426 std::string new_path(file.GetPath()); in SetSymbolFileFileSpec()
1427 std::string old_path(obj_file->GetFileSpec().GetPath()); in SetSymbolFileFileSpec()
1526 scripting_fspec.GetPath().c_str()); in LoadScriptingResourceInTarget()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp114 executable_sp ? executable_sp->GetFileSpec().GetPath().c_str() in DidAttach()
148 executable_sp->GetFileSpec().GetPath().c_str()); in DidAttach()
163 module_sp ? module_sp->GetFileSpec().GetPath().c_str() in DidAttach()
758 process_info.GetExecutableFile().GetPath().c_str()); in ResolveExecutableModule()
794 return module_sp->GetFileSpec().GetPath() == "[vdso]"; in AlwaysRelyOnEHUnwindInfo()

12345