| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | ModuleCache.cpp | 70 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 D | Platform.cpp | 283 strm.Printf("WorkingDir: %s\n", GetWorkingDirectory().GetPath().c_str()); in GetStatus() 405 "unable to setup directory {0} on remote end", dst_dir.GetPath()); in RecurseCopy_Callback() 410 std::string src_dir_path(src.GetPath()); in RecurseCopy_Callback() 464 "invalid file detected during copy: %s", src.GetPath().c_str()); in RecurseCopy_Callback() 476 src.GetPath().c_str(), dst.GetPath().c_str()); in Install() 497 relative_spec.AppendPathComponent(dst.GetPath()); in Install() 502 dst.GetPath().c_str()); in Install() 512 dst.GetPath().c_str()); in Install() 528 src.GetPath().c_str(), dst.GetPath().c_str(), in Install() 529 fixed_dst.GetPath().c_str()); in Install() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | FileSystem.cpp | 64 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 D | FileAction.cpp | 28 llvm::StringRef FileAction::GetPath() const { in GetPath() function in FileAction 86 m_file_spec.GetPath().c_str(), m_arg); in Dump()
|
| H A D | HostInfoBase.cpp | 43 llvm::sys::fs::remove_directories(m_lldb_process_tmp_dir.GetPath()); in ~HostInfoBaseFields() 229 std::string raw_path = lldb_file_spec.GetPath(); in ComputePathRelativeToLibrary() 277 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeProcessTempFileDirectory() 300 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeGlobalTempFileDirectory()
|
| /freebsd/contrib/llvm-project/lldb/source/Host/posix/ |
| H A D | FileSystemPosix.cpp | 30 if (::symlink(dst.GetPath().c_str(), src.GetPath().c_str()) == -1) in Symlink() 38 ssize_t count = ::readlink(src.GetPath().c_str(), buf, sizeof(buf) - 1); in Readlink() 50 if (!src.GetPath(resolved_path, sizeof(resolved_path))) { in ResolveSymbolicLink() 52 "Couldn't get the canonical path for %s", src.GetPath().c_str()); in ResolveSymbolicLink()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPTBundleSaver.cpp | 38 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() 278 llvm::sys::fs::copy_file(file, path_to_copy_module.GetPath())) in BuildModulesSection() [all …]
|
| H A D | TraceIntelPTBundleLoader.cpp | 398 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 D | FileSpec.cpp | 326 std::string path{GetPath(true)}; in Dump() 374 size_t FileSpec::GetPath(char *path, size_t path_max_len, in GetPath() function in FileSpec 379 std::string result = GetPath(denormalize); in GetPath() 384 std::string FileSpec::GetPath(bool denormalize) const { in GetPath() function in FileSpec 386 GetPath(result, denormalize); in GetPath() 391 return ConstString{GetPath(denormalize)}; in GetPathAsConstString() 394 void FileSpec::GetPath(llvm::SmallVectorImpl<char> &path, in GetPath() function in FileSpec 433 GetPath(current_path, false); in CopyByRemovingLastPathComponent() 443 GetPath(current_path, false); in PrependPathComponent() 451 return PrependPathComponent(new_path.GetPath(false)); in PrependPathComponent() [all …]
|
| H A D | RealpathPrefixes.cpp | 25 m_prefixes.emplace_back(file_spec.GetPath()); in RealpathPrefixes() 47 std::string file_spec_path = file_spec.GetPath(); in ResolveSymlinks()
|
| /freebsd/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | LocateSymbolFileMacOSX.cpp | |
| H A D | LocateSymbolFile.cpp | |
| H A D | ObjectFile.cpp | 59 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() 709 return FileSystem::Instance().CreateDataBuffer(file.GetPath(), Size, Offset); in MapFileData()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/ |
| H A D | SymbolLocatorDebugSymbols.cpp | 134 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 D | ClangHost.cpp | 53 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/source/API/ |
| H A D | SBFileSpec.cpp | 140 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/include/lldb/Utility/ |
| H A D | FileSpec.h | 310 size_t GetPath(char *path, size_t max_path_length, 320 std::string GetPath(bool denormalize = true) const; 333 void GetPath(llvm::SmallVectorImpl<char> &path,
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/ |
| H A D | PlatformRemoteGDBServer.cpp | 106 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() 373 args.ReplaceArgumentAtIndex(0, exe_file.GetPath(false)); in LaunchProcess() 545 file_spec.GetPath().c_str(), mode, error.GetError(), in MakeDirectory() 560 file_spec.GetPath().c_str(), file_permissions, error.GetError(), in GetFilePermissions() 575 file_spec.GetPath().c_str(), file_permissions, error.GetError(), in SetFilePermissions() 644 src.GetPath().c_str(), dst.GetPath().c_str(), error.GetError(), in CreateSymlink() 655 file_spec.GetPath().c_str(), error.GetError(), error.AsCString()); in Unlink()
|
| /freebsd/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectDiagnostics.cpp | 72 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 D | OptionValueFileSpec.cpp | 44 strm << '"' << m_current_value.GetPath().c_str() << '"'; in DumpValue() 97 FileSystem::Instance().CreateDataBuffer(m_current_value.GetPath()); in GetFileContents()
|
| H A D | OptionValueFileColonLine.cpp | 41 strm << '"' << m_file_spec.GetPath().c_str() << '"'; in DumpValue() 53 stream << '"' << m_file_spec.GetPath().c_str() << '"'; in ToJSON()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/ |
| H A D | ObjectFileCOFF.cpp | 57 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 D | ProcessFreeBSDKernel.cpp | 82 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/Plugins/SymbolLocator/Default/ |
| H A D | SymbolLocatorDefault.cpp | 190 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/Core/ |
| H A D | Module.cpp | 148 module_spec.GetFileSpec().GetPath().c_str(), in Module() 255 m_file.GetPath().c_str(), m_object_name.IsEmpty() ? "" : "(", in Module() 285 m_file.GetPath().c_str(), m_object_name.IsEmpty() ? "" : "(", in ~Module() 600 file_spec.GetPath().c_str(), line, in ResolveSymbolContextsForFileSpec() 1019 std::string spec(GetFileSpec().GetPath()); in GetSpecificationDescription() 1041 if (m_file.GetPath(path, sizeof(path))) in GetDescription() 1155 s->Printf("Module %s%s%s%s\n", m_file.GetPath().c_str(), in Dump() 1208 GetFileSpec().GetPath().c_str()); in GetObjectFile() 1358 std::string new_path(file.GetPath()); in SetSymbolFileFileSpec() 1359 std::string old_path(obj_file->GetFileSpec().GetPath()); in SetSymbolFileFileSpec() [all …]
|