| /freebsd-12.1/contrib/llvm/tools/lldb/source/Target/ |
| H A D | ModuleCache.cpp | 79 return FileSpec(module_file_spec.GetPath() + kSymFileExtension); in GetSymbolFileSpec() 105 if (status(sysroot_module_path_spec.GetPath(), st)) in DeleteExistingModule() 112 llvm::sys::fs::remove_directories(module_spec_dir.GetPath()); in DeleteExistingModule() 122 llvm::sys::fs::remove(sysroot_module_path_spec.GetPath()); in DecrementRefExistingModule() 125 llvm::sys::fs::remove(symfile_spec.GetPath()); in DecrementRefExistingModule() 135 platform_module_spec.GetPath().c_str()); in CreateHostSysRootModuleLink() 148 return llvm::sys::fs::create_hard_link(local_module_spec.GetPath(), in CreateHostSysRootModuleLink() 183 llvm::sys::fs::remove(m_file_spec.GetPath()); in Delete() 196 const auto tmp_file_path = tmp_file.GetPath(); in Put() 201 module_file_path.GetPath().c_str(), in Put() [all …]
|
| H A D | Platform.cpp | 581 std::string src_dir_path(src.GetPath()); in RecurseCopy_Callback() 648 dst.GetPath().c_str()); in Install() 675 dst.GetPath().c_str()); in Install() 685 dst.GetPath().c_str()); in Install() 701 src.GetPath().c_str(), dst.GetPath().c_str(), in Install() 702 fixed_dst.GetPath().c_str()); in Install() 710 llvm::sys::fs::remove(fixed_dst.GetPath()); in Install() 720 std::string src_dir_path(src.GetPath()); in Install() 729 llvm::sys::fs::remove(fixed_dst.GetPath()); in Install() 734 llvm::sys::fs::remove(fixed_dst.GetPath()); in Install() [all …]
|
| H A D | PathMappingList.cpp | 37 return ConstString(FileSpec(path.GetStringRef()).GetPath()); in NormalizePath() 184 new_path = remapped.GetPath(); in RemapPath() 191 std::string path = file.GetPath(); in ReverseRemapPath() 208 orig_spec.GetPath(orig_path, sizeof(orig_path)); in FindFile()
|
| H A D | TargetList.cpp | 159 module_spec.GetFileSpec().GetPath().c_str()); in CreateTargetInternal() 393 "\"%s\" doesn't contain architecture %s", file.GetPath().c_str(), in CreateTargetInternal() 397 file.GetPath().c_str()); in CreateTargetInternal() 404 exe_module_sp->GetFileSpec().GetPath(resolved_bundle_exe_path, in CreateTargetInternal() 424 target_sp->SetArg0(file.GetPath().c_str()); in CreateTargetInternal()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/ |
| H A D | FileSystem.cpp | 68 return DirBegin(file_spec.GetPath(), ec); in DirBegin() 78 return GetStatus(file_spec.GetPath()); in GetStatus() 98 return GetByteSize(file_spec.GetPath()); in GetByteSize() 109 return GetPermissions(file_spec.GetPath()); in GetPermissions() 114 return GetPermissions(file_spec.GetPath(), ec); in GetPermissions() 135 return Exists(file_spec.GetPath()); in Exists() 143 return Readable(file_spec.GetPath()); in Readable() 154 return IsDirectory(file_spec.GetPath()); in IsDirectory() 164 return IsLocal(file_spec.GetPath()); in IsLocal() 203 file_spec.GetPath(path, false); in MakeAbsolute() [all …]
|
| H A D | Symbols.cpp | 158 log->Printf("dSYM with matching UUID & arch found at %s", dsym_fspec.GetPath().c_str()); in LocateDSYMInVincinityOfExecutable() 189 dsym_fspec.GetPath().c_str()); in LocateDSYMInVincinityOfExecutable() 323 std::string dirname = dirspec.GetPath(); in LocateExecutableSymbolFile() 340 if (llvm::sys::fs::equivalent(file_spec.GetPath(), in LocateExecutableSymbolFile() 341 module_file_spec.GetPath())) in LocateExecutableSymbolFile()
|
| H A D | HostInfoBase.cpp | 49 llvm::sys::fs::remove_directories(m_lldb_process_tmp_dir.GetPath()); in ~HostInfoBaseFields() 249 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeProcessTempFileDirectory() 272 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeGlobalTempFileDirectory()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/ |
| H A D | FileSpec.cpp | 376 std::string path{GetPath(true)}; in Dump() 415 std::string result = GetPath(denormalize); in GetPath() 420 std::string FileSpec::GetPath(bool denormalize) const { in GetPath() function in FileSpec 422 GetPath(result, denormalize); in GetPath() 472 GetPath(current_path, false); in CopyByRemovingLastPathComponent() 481 GetPath(current_path, false); in GetLastPathComponent() 488 GetPath(current_path, false); in PrependPathComponent() 501 GetPath(current_path, false); in AppendPathComponent() 507 return AppendPathComponent(new_path.GetPath(false)); in AppendPathComponent() 512 GetPath(current_path, false); in RemoveLastPathComponent() [all …]
|
| H A D | Reproducer.cpp | 39 auto ec = sys::fs::create_directory(root->GetPath()); in Initialize() 167 llvm::sys::fs::remove_directories(m_root.GetPath()); in Discard() 177 auto strm = llvm::make_unique<raw_fd_ostream>(index.GetPath(), EC, in AddProvidersToIndex() 195 auto error_or_file = MemoryBuffer::getFile(index.GetPath()); in LoadIndex()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/tools/lldb-server/ |
| H A D | lldb-platform.cpp | 101 Status error(llvm::sys::fs::create_directory(temp_file_spec.GetPath())); in save_socket_id_to_file() 109 auto err_code = llvm::sys::fs::createUniqueFile(temp_file_spec.GetPath(), FD, in save_socket_id_to_file() 124 err_code = llvm::sys::fs::rename(temp_file_path, file_spec.GetPath()); in save_socket_id_to_file() 127 file_spec.GetPath().c_str(), err_code.message().c_str()); in save_socket_id_to_file() 293 socket_file.GetPath().c_str(), error.AsCString()); in main_platform()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/ |
| H A D | PlatformPOSIX.cpp | 149 resolved_module_spec.GetFileSpec().GetPath().c_str()); in ResolveExecutable() 210 resolved_module_spec.GetFileSpec().GetPath().c_str(), in ResolveExecutable() 388 std::string src_path(source.GetPath()); in PutFile() 391 std::string dst_path(destination.GetPath()); in PutFile() 408 std::string src_path(source.GetPath()); in PutFile() 411 std::string dst_path(destination.GetPath()); in PutFile() 446 if (llvm::sys::fs::file_size(file_spec.GetPath(), Size)) in GetFileSize() 475 return llvm::sys::fs::remove(file_spec.GetPath()); in Unlink() 489 std::string src_path(source.GetPath()); in GetFile() 492 std::string dst_path(destination.GetPath()); in GetFile() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangHost.cpp | 57 std::string raw_path = lldb_shlib_spec.GetPath(); in ComputeClangDirectory() 106 raw_path = lldb_shlib_spec.GetPath(); in ComputeClangDirectory() 142 g_cached_resource_dir.GetPath().c_str()); in GetClangResourceDir()
|
| H A D | ClangModulesDeclVendor.cpp | 580 props.GetClangModulesCachePath().GetPath(path); in Create() 592 search_path_argument.append(search_path.GetPath()); in Create() 600 if (FileSystem::Instance().IsDirectory(clang_resource_dir.GetPath())) { in Create() 602 compiler_invocation_arguments.push_back(clang_resource_dir.GetPath()); in Create()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | FileSpec.h | 352 size_t GetPath(char *path, size_t max_path_length, 364 std::string GetPath(bool denormalize = true) const; 377 void GetPath(llvm::SmallVectorImpl<char> &path,
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/API/ |
| H A D | SBFileSpec.cpp | 126 uint32_t SBFileSpec::GetPath(char *dst_path, size_t dst_len) const { in GetPath() function in SBFileSpec 129 uint32_t result = m_opaque_ap->GetPath(dst_path, dst_len); in GetPath() 163 if (m_opaque_ap->GetPath(path, sizeof(path))) in GetDescription()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/ |
| H A D | ObjectFile.cpp | 42 module_sp->GetFileSpec().GetPath().c_str(), in FindPlugin() 77 data_sp = FileSystem::Instance().CreateDataBuffer(file->GetPath(), in FindPlugin() 86 module_sp->GetFileSpec().GetPath(path_with_object, in FindPlugin() 123 archive_file.GetPath(), 512, file_offset); in FindPlugin() 182 module_sp->GetFileSpec().GetPath().c_str(), in FindPlugin() 212 FileSystem::Instance().CreateDataBuffer(file.GetPath(), 512, file_offset); in GetModuleSpecifications() 281 m_file ? m_file.GetPath().c_str() : "<NULL>", m_file_offset, in ObjectFile() 687 return FileSystem::Instance().CreateDataBuffer(file.GetPath(), Size, Offset); in MapFileData()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Interpreter/ |
| H A D | OptionValueFileSpec.cpp | 51 strm << '"' << m_current_value.GetPath().c_str() << '"'; in DumpValue() 117 FileSystem::Instance().CreateDataBuffer(m_current_value.GetPath()); in GetFileContents()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Host/posix/ |
| H A D | HostInfoPosix.cpp | 132 std::string raw_path = lldb_file_spec.GetPath(); in ComputePathRelativeToLibrary() 167 file_spec.GetDirectory().SetCString(temp_file.GetPath().c_str()); in ComputeHeaderDirectory()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Core/ |
| H A D | Module.cpp | 143 module_spec.GetFileSpec().GetPath().c_str(), in Module() 240 m_arch.GetArchitectureName(), m_file.GetPath().c_str(), in Module() 273 m_file.GetPath().c_str(), m_object_name.IsEmpty() ? "" : "(", in ~Module() 585 file_spec.GetPath().c_str(), line, in ResolveSymbolContextsForFileSpec() 1074 std::string spec(GetFileSpec().GetPath()); in GetSpecificationDescription() 1097 if (m_file.GetPath(path, sizeof(path))) in GetDescription() 1221 s->Printf("Module %s%s%s%s\n", m_file.GetPath().c_str(), in Dump() 1273 GetFileSpec().GetPath().c_str()); in GetObjectFile() 1452 std::string new_path(file.GetPath()); in SetSymbolFileFileSpec() 1453 std::string old_path(obj_file->GetFileSpec().GetPath()); in SetSymbolFileFileSpec() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Commands/ |
| H A D | CommandObjectTarget.cpp | 300 symfile.GetPath(symfile_path, sizeof(symfile_path)); in DoExecute() 389 std::string remote_path = remote_file.GetPath(); in DoExecute() 405 core_file.GetPath(core_path, sizeof(core_path)); in DoExecute() 825 sc.comp_unit->GetPath().c_str(), in DumpGlobalVariableList() 938 comp_unit->GetPath().c_str()); in DoExecute() 974 module_file.GetPath().c_str()); in DoExecute() 1383 std::string fullpath = file_spec_ptr->GetPath(); in DumpFullpath() 2929 .GetPath(path, sizeof(path))) in DoExecute() 4249 module_fs.GetPath().c_str()); in AddModuleSymbols() 4291 !fs::is_regular_file(symbol_fspec.GetPath()) in AddModuleSymbols() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| H A D | DynamicLoaderPOSIXDYLD.cpp | 113 executable_sp ? executable_sp->GetFileSpec().GetPath().c_str() in DidAttach() 147 executable_sp->GetFileSpec().GetPath().c_str()); in DidAttach() 166 module_sp ? module_sp->GetFileSpec().GetPath().c_str() in DidAttach() 733 process_info.GetExecutableFile().GetPath().c_str()); in ResolveExecutableModule() 769 return module_sp->GetFileSpec().GetPath() == "[vdso]"; in AlwaysRelyOnEHUnwindInfo()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFDebugInfo.cpp | 58 m_dwarf2Data->GetObjectFile()->GetFileSpec().GetPath().c_str()); in GetCompileUnitAranges() 83 m_dwarf2Data->GetObjectFile()->GetFileSpec().GetPath().c_str()); in GetCompileUnitAranges()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/ |
| H A D | FileAction.h | 43 llvm::StringRef GetPath() const;
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Breakpoint/ |
| H A D | BreakpointResolverFileLine.cpp | 104 m_file_spec.GetPath()); in SerializeToStructuredData() 261 s->Printf("file = '%s', line = %u, ", m_file_spec.GetPath().c_str(), in GetDescription()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationClient.cpp | 784 exe_path = exe_file.GetPath(false); in SendArgumentsPacket() 1747 std::string path{file_spec.GetPath(false)}; in SetSTDIN() 2828 std::string path{file_spec.GetPath(false)}; in MakeDirectory() 2850 std::string path{file_spec.GetPath(false)}; in SetFilePermissions() 2891 std::string path(file_spec.GetPath(false)); in OpenFile() 2924 std::string path(file_spec.GetPath(false)); in GetFileSize() 2942 std::string path{file_spec.GetPath(false)}; in GetFilePermissions() 3042 std::string src_path{src.GetPath(false)}, dst_path{dst.GetPath(false)}; in CreateSymlink() 3075 std::string path{file_spec.GetPath(false)}; in Unlink() 3108 std::string path(file_spec.GetPath(false)); in GetFileExists() [all …]
|