Home
last modified time | relevance | path

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

12345

/freebsd-14.2/contrib/llvm-project/lldb/source/Target/
H A DModuleCache.cpp79 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()
186 llvm::sys::fs::remove(m_file_spec.GetPath()); in Delete()
199 const auto tmp_file_path = tmp_file.GetPath(); in Put()
204 module_file_path.GetPath().c_str(), in Put()
[all …]
H A DPlatform.cpp440 dst_dir.GetPath().c_str()); in RecurseCopy_Callback()
445 std::string src_dir_path(src.GetPath()); in RecurseCopy_Callback()
511 src.GetPath().c_str(), dst.GetPath().c_str()); in Install()
538 dst.GetPath().c_str()); in Install()
548 dst.GetPath().c_str()); in Install()
563 src.GetPath().c_str(), dst.GetPath().c_str(), in Install()
564 fixed_dst.GetPath().c_str()); in Install()
572 llvm::sys::fs::remove(fixed_dst.GetPath()); in Install()
582 std::string src_dir_path(src.GetPath()); in Install()
738 working_dir.GetPath().c_str()); in SetRemoteWorkingDirectory()
[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()
126 resolved_module_spec.GetFileSpec().GetPath().c_str(), in ResolveExecutable()
162 resolved_module_spec.GetFileSpec().GetPath().c_str()); in ResolveExecutable()
/freebsd-14.2/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()
208 file_spec.GetPath(path, false); in MakeAbsolute()
252 file_spec.GetPath(path); in Resolve()
445 auto path = file_spec.GetPath(); in Open()
[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-14.2/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-14.2/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-14.2/contrib/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp326 std::string path{GetPath(true)}; in Dump()
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()
426 GetPath(current_path, false); in CopyByRemovingLastPathComponent()
436 GetPath(current_path, false); in PrependPathComponent()
449 GetPath(current_path, false); in AppendPathComponent()
455 return AppendPathComponent(new_path.GetPath(false)); in AppendPathComponent()
460 GetPath(current_path, false); in RemoveLastPathComponent()
[all …]
H A DDiagnostics.cpp71 stream << "LLDB diagnostics will be written to " << dir.GetPath() << "\n"; in Dump()
106 llvm::raw_fd_ostream stream(log_file.GetPath(), ec, llvm::sys::fs::OF_None); in DumpDiangosticsLog()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/
H A DSymbolLocatorDebugSymbols.cpp206 module_spec.GetFileSpec().GetPath()); 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()
648 module_spec.GetFileSpec().GetPath()); in LocateMacOSXFilesUsingDebugSymbols()
701 switch (get_file_type(file_spec.GetPath())) { in LocateMacOSXFilesUsingDebugSymbols()
905 DBGSourcePath = resolved_source_path.GetPath(); in GetModuleSpecInfoFromUUIDDictionary()
921 build_path.GetPath(), source_path.GetPath(), true); in GetModuleSpecInfoFromUUIDDictionary()
951 DBGSourcePath = resolved_source_path.GetPath(); in GetModuleSpecInfoFromUUIDDictionary()
[all …]
/freebsd-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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;
322 void GetPath(llvm::SmallVectorImpl<char> &path,
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Default/
H A DSymbolLocatorDefault.cpp168 std::string dirname = dirspec.GetPath(); in LocateExecutableSymbolFile()
191 if (llvm::sys::fs::equivalent(file_spec.GetPath(), in LocateExecutableSymbolFile()
192 module_file_spec.GetPath())) in LocateExecutableSymbolFile()
/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/lldb/source/Symbol/
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()
194 file.GetPath(), g_initial_bytes_to_read, file_offset); in GetModuleSpecifications()
261 m_file ? m_file.GetPath().c_str() : "<NULL>", m_file_offset, in ObjectFile()
663 return FileSystem::Instance().CreateDataBuffer(file.GetPath(), Size, Offset); in MapFileData()
/freebsd-14.2/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-14.2/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/
H A DProcessFreeBSDKernel.cpp81 fvc_open(executable->GetFileSpec().GetPath().c_str(), in CreateInstance()
82 crash_file->GetPath().c_str(), nullptr, nullptr, nullptr); in CreateInstance()
90 kvm_open2(executable->GetFileSpec().GetPath().c_str(), in CreateInstance()
91 crash_file->GetPath().c_str(), O_RDONLY, nullptr, nullptr); in CreateInstance()
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DModule.cpp147 module_spec.GetFileSpec().GetPath().c_str(), in Module()
590 file_spec.GetPath().c_str(), line, in ResolveSymbolContextsForFileSpec()
1036 std::string spec(GetFileSpec().GetPath()); in GetSpecificationDescription()
1058 if (m_file.GetPath(path, sizeof(path))) in GetDescription()
1163 s->Printf("Module %s%s%s%s\n", m_file.GetPath().c_str(), in Dump()
1214 GetFileSpec().GetPath().c_str()); in GetObjectFile()
1372 std::string new_path(file.GetPath()); in SetSymbolFileFileSpec()
1471 scripting_fspec.GetPath().c_str()); in LoadScriptingResourceInTarget()
1556 return remapped->GetPath(); in RemapSourceFile()
1619 id_strm << m_arch.GetTriple().str() << '-' << m_file.GetPath(); in Hash()
[all …]
/freebsd-14.2/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(); in DoLoadImage()

12345