| /NextBSD/contrib/llvm/tools/lldb/source/Host/common/ |
| HD | FileSpec.cpp | 53 PathSyntaxIsPosix(FileSpec::PathSyntax syntax) in PathSyntaxIsPosix() 55 return (syntax == FileSpec::ePathSyntaxPosix || in PathSyntaxIsPosix() 56 (syntax == FileSpec::ePathSyntaxHostNative && in PathSyntaxIsPosix() 57 FileSystem::GetNativePathSyntax() == FileSpec::ePathSyntaxPosix)); in PathSyntaxIsPosix() 61 GetPathSeparator(FileSpec::PathSyntax syntax) in GetPathSeparator() 67 Normalize(llvm::SmallVectorImpl<char> &path, FileSpec::PathSyntax syntax) in Normalize() 81 Denormalize(llvm::SmallVectorImpl<char> &path, FileSpec::PathSyntax syntax) in Denormalize() 89 GetFileStats (const FileSpec *file_spec, struct stat *stats_ptr) in GetFileStats() 103 FileSpec::ResolveUsername (llvm::SmallVectorImpl<char> &path) in ResolveUsername() 165 FileSpec::ResolvePartialUsername (const char *partial_name, StringList &matches) in ResolvePartialUsername() [all …]
|
| HD | Symbols.cpp | 40 FileSpec *out_exec_fspec, // If non-NULL, try and find the executable 41 FileSpec *out_dsym_fspec // If non-NULL try and find the debug symbol file 50 FileSpec *out_exec_fspec, // If non-NULL, try and find the executable in LocateMacOSXFilesUsingDebugSymbols() 51 FileSpec *out_dsym_fspec // If non-NULL try and find the debug symbol file in LocateMacOSXFilesUsingDebugSymbols() 60 FileAtPathContainsArchAndUUID (const FileSpec &file_fspec, const ArchSpec *arch, const lldb_private… in FileAtPathContainsArchAndUUID() 80 LocateDSYMInVincinityOfExecutable (const ModuleSpec &module_spec, FileSpec &dsym_fspec) in LocateDSYMInVincinityOfExecutable() 82 const FileSpec *exec_fspec = module_spec.GetFileSpecPtr(); in LocateDSYMInVincinityOfExecutable() 146 FileSpec 149 const FileSpec *exec_fspec = module_spec.GetFileSpecPtr(); in LocateExecutableSymbolFileDsym() 159 FileSpec symbol_fspec; in LocateExecutableSymbolFileDsym() [all …]
|
| HD | HostInfoBase.cpp | 37 FileSpec tmpdir_file_spec; in CleanupProcessSpecificLLDBTempDir() 64 FileSpec m_lldb_so_dir; 65 FileSpec m_lldb_support_exe_dir; 66 FileSpec m_lldb_headers_dir; 67 FileSpec m_lldb_python_dir; 68 FileSpec m_lldb_clang_resource_dir; 69 FileSpec m_lldb_system_plugin_dir; 70 FileSpec m_lldb_user_plugin_dir; 71 FileSpec m_lldb_process_tmp_dir; 72 FileSpec m_lldb_global_tmp_dir; [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Host/ |
| HD | FileSpec.h | 41 class FileSpec 63 FileSpec(); 81 …explicit FileSpec (const char *path, bool resolve_path, PathSyntax syntax = ePathSyntaxHostNative); 83 explicit FileSpec (const char *path, bool resolve_path, ArchSpec arch); 85 …explicit FileSpec(const std::string &path, bool resolve_path, PathSyntax syntax = ePathSyntaxHostN… 87 explicit FileSpec(const std::string &path, bool resolve_path, ArchSpec arch); 98 FileSpec (const FileSpec& rhs); 109 FileSpec (const FileSpec* rhs); 114 ~FileSpec (); 128 const FileSpec& [all …]
|
| HD | FileSystem.h | 25 static FileSpec::PathSyntax GetNativePathSyntax(); 27 static Error MakeDirectory(const FileSpec &file_spec, uint32_t mode); 28 static Error DeleteDirectory(const FileSpec &file_spec, bool recurse); 30 static Error GetFilePermissions(const FileSpec &file_spec, 32 static Error SetFilePermissions(const FileSpec &file_spec, 34 static lldb::user_id_t GetFileSize(const FileSpec &file_spec); 35 static bool GetFileExists(const FileSpec &file_spec); 37 static Error Hardlink(const FileSpec &src, const FileSpec &dst); 38 static Error Symlink(const FileSpec &src, const FileSpec &dst); 39 static Error Readlink(const FileSpec &src, FileSpec &dst); [all …]
|
| HD | HostInfoBase.h | 26 class FileSpec; variable 113 static bool GetLLDBPath(lldb::PathType type, FileSpec &file_spec); 116 static bool ComputeSharedLibraryDirectory(FileSpec &file_spec); 117 static bool ComputeSupportExeDirectory(FileSpec &file_spec); 118 static bool ComputeProcessTempFileDirectory(FileSpec &file_spec); 119 static bool ComputeGlobalTempFileDirectory(FileSpec &file_spec); 120 static bool ComputeTempFileBaseDirectory(FileSpec &file_spec); 121 static bool ComputeHeaderDirectory(FileSpec &file_spec); 122 static bool ComputeSystemPluginsDirectory(FileSpec &file_spec); 123 static bool ComputeClangDirectory(FileSpec &file_spec); [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Host/posix/ |
| HD | FileSystem.cpp | 32 FileSpec::PathSyntax 35 return FileSpec::ePathSyntaxPosix; in GetNativePathSyntax() 39 FileSystem::MakeDirectory(const FileSpec &file_spec, uint32_t file_permissions) in MakeDirectory() 54 FileSpec parent_file_spec{file_spec.GetDirectory().GetCString(), false}; in MakeDirectory() 78 FileSystem::DeleteDirectory(const FileSpec &file_spec, bool recurse) in DeleteDirectory() 87 std::vector<FileSpec> sub_directories; in DeleteDirectory() 89 …FileSpec::ForEachItemInDirectory (file_spec.GetCString(), [&error, &sub_directories](FileSpec::Fil… in DeleteDirectory() 90 if (file_type == FileSpec::eFileTypeDirectory) in DeleteDirectory() 102 return FileSpec::eEnumerateDirectoryResultQuit; in DeleteDirectory() 104 return FileSpec::eEnumerateDirectoryResultNext; in DeleteDirectory() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/ |
| HD | PlatformPOSIX.h | 36 GetModuleSpec (const lldb_private::FileSpec& module_file_spec, 54 PutFile (const lldb_private::FileSpec& source, 55 const lldb_private::FileSpec& destination, 60 OpenFile (const lldb_private::FileSpec& file_spec, 84 GetFileSize (const lldb_private::FileSpec& file_spec) override; 87 CreateSymlink(const lldb_private::FileSpec &src, 88 const lldb_private::FileSpec &dst) override; 91 GetFile(const lldb_private::FileSpec &source, 92 const lldb_private::FileSpec &destination) override; 94 lldb_private::FileSpec [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Target/ |
| HD | Platform.cpp | 105 module_cache_dir = FileSpec ("/tmp/lldb", false); in PlatformProperties() 125 FileSpec 132 PlatformProperties::SetModuleCacheDirectory (const FileSpec& dir_spec) in SetModuleCacheDirectory() 208 Platform::GetFileWithUUID (const FileSpec &platform_file, in GetFileWithUUID() 210 FileSpec &local_file) in GetFileWithUUID() 282 Platform::GetModuleSpec (const FileSpec& module_file_spec, in GetModuleSpec() 614 FileSpec 621 return FileSpec{cwd, true}; in GetWorkingDirectory() 623 return FileSpec{}; in GetWorkingDirectory() 636 const FileSpec& dst; [all …]
|
| HD | ProcessLaunchInfo.cpp | 45 ProcessLaunchInfo::ProcessLaunchInfo(const FileSpec &stdin_file_spec, in ProcessLaunchInfo() 46 const FileSpec &stdout_file_spec, in ProcessLaunchInfo() 47 const FileSpec &stderr_file_spec, in ProcessLaunchInfo() 48 const FileSpec &working_directory, in ProcessLaunchInfo() 116 ProcessLaunchInfo::AppendOpenFileAction(int fd, const FileSpec &file_spec, in AppendOpenFileAction() 132 if (file_action.Open(fd, FileSpec{"/dev/null", false}, read, write)) in AppendSuppressFileAction() 159 const FileSpec & 166 ProcessLaunchInfo::SetWorkingDirectory(const FileSpec &working_dir) in SetWorkingDirectory() 188 const FileSpec & 195 ProcessLaunchInfo::SetShell (const FileSpec &shell) in SetShell() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Core/ |
| HD | FileSpecList.cpp | 54 FileSpecList::Append(const FileSpec &file_spec) in Append() 67 FileSpecList::AppendIfUnique(const FileSpec &file_spec) in AppendIfUnique() 110 FileSpecList::FindFileIndex (size_t start_idx, const FileSpec &file_spec, bool full, bool remove_do… in FindFileIndex() 127 if (FileSpec::Equal (m_files[idx], file_spec, full, remove_dots)) in FindFileIndex() 140 const FileSpec & 146 static FileSpec g_empty_file_spec; in GetFileSpecAtIndex() 150 const FileSpec * 192 FileSpec path_spec = FileSpec (path); in GetFilesMatchingPartialPath() 195 FileSpec::FileType type = path_spec.GetFileType(); in GetFilesMatchingPartialPath() 196 if (type == FileSpec::eFileTypeSymbolicLink) in GetFilesMatchingPartialPath() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/ |
| HD | PlatformRemoteGDBServer.h | 76 GetModuleSpec (const FileSpec& module_file_spec, 84 GetFileWithUUID (const FileSpec &platform_file, 86 FileSpec &local_file) override; 132 FileSpec 136 SetRemoteWorkingDirectory(const FileSpec &working_dir) override; 159 MakeDirectory(const FileSpec &file_spec, uint32_t file_permissions) override; 162 GetFilePermissions(const FileSpec &file_spec, uint32_t &file_permissions) override; 165 SetFilePermissions(const FileSpec &file_spec, uint32_t file_permissions) override; 169 OpenFile (const FileSpec& file_spec, uint32_t flags, uint32_t mode, Error &error) override; 189 GetFileSize (const FileSpec& file_spec) override; [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Interpreter/ |
| HD | OptionValueFileSpec.h | 27 OptionValueFileSpec (const FileSpec &value, 30 OptionValueFileSpec (const FileSpec ¤t_value, 31 const FileSpec &default_value, 81 FileSpec & 87 const FileSpec & 93 const FileSpec & 100 SetCurrentValue (const FileSpec &value, bool set_value_was_set) in SetCurrentValue() 109 SetDefaultValue (const FileSpec &value) in SetDefaultValue() 124 FileSpec m_current_value; 125 FileSpec m_default_value;
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Target/ |
| HD | Platform.h | 59 FileSpec 62 SetModuleCacheDirectory (const FileSpec& dir_spec); 239 FileSpec &sym_file); 247 ResolveRemotePath (const FileSpec &platform_path, 248 FileSpec &resolved_platform_path); 321 virtual FileSpec 328 SetRemoteWorkingDirectory(const FileSpec &working_dir); 365 GetFileWithUUID (const FileSpec &platform_file, 367 FileSpec &local_file); 389 GetModuleSpec (const FileSpec& module_file_spec, [all …]
|
| HD | ProcessLaunchInfo.h | 39 ProcessLaunchInfo(const FileSpec &stdin_file_spec, 40 const FileSpec &stdout_file_spec, 41 const FileSpec &stderr_file_spec, 42 const FileSpec &working_dir, 58 AppendOpenFileAction(int fd, const FileSpec &file_spec, 92 const FileSpec & 96 SetWorkingDirectory(const FileSpec &working_dir); 104 const FileSpec & 108 SetShell (const FileSpec &shell); 236 FileSpec m_working_dir; [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/API/ |
| HD | SBFileSpec.cpp | 27 m_opaque_ap(new lldb_private::FileSpec()) in SBFileSpec() 32 m_opaque_ap(new lldb_private::FileSpec(*rhs.m_opaque_ap)) in SBFileSpec() 36 SBFileSpec::SBFileSpec (const lldb_private::FileSpec& fspec) : in SBFileSpec() 37 m_opaque_ap(new lldb_private::FileSpec(fspec)) in SBFileSpec() 43 m_opaque_ap(new FileSpec (path, true)) in SBFileSpec() 48 m_opaque_ap(new FileSpec (path, resolve)) in SBFileSpec() 95 lldb_private::FileSpec::Resolve (result); in ResolvePath() 122 FileSpec directory{*m_opaque_ap}; in GetDirectory() 173 const lldb_private::FileSpec * 179 const lldb_private::FileSpec * [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Core/ |
| HD | ModuleSpec.h | 39 ModuleSpec (const FileSpec &file_spec) : in ModuleSpec() 53 ModuleSpec (const FileSpec &file_spec, const ArchSpec &arch) : in ModuleSpec() 100 FileSpec * 108 const FileSpec * 116 FileSpec & 121 const FileSpec & 127 FileSpec * 135 const FileSpec * 143 FileSpec & 149 const FileSpec & [all …]
|
| HD | SourceManager.h | 35 File (const FileSpec &file_spec, Target *target); 59 FileSpecMatches (const FileSpec &file_spec); 61 const FileSpec & 87 …FileSpec m_file_spec_orig; // The original file spec that was used (can be different from m_file_… 88 …FileSpec m_file_spec; // The actually file spec being used (if the target has source mapping… 111 FileSP FindSourceFile (const FileSpec &file_spec) const; 114 typedef std::map <FileSpec, FileSP> FileCache; 138 DisplaySourceLinesWithLineNumbers (const FileSpec &file, 162 SetDefaultFileAndLine (const FileSpec &file_spec, uint32_t line); 165 GetDefaultFileAndLine (FileSpec &file_spec, uint32_t &line); [all …]
|
| HD | Module.h | 88 Module (const FileSpec& file_spec, 288 FindCompileUnits (const FileSpec &path, 384 const FileSpec &file, uint32_t line, 550 const FileSpec & 571 const FileSpec & 580 SetPlatformFileSpec (const FileSpec &file) in SetPlatformFileSpec() 585 const FileSpec & 592 SetRemoteInstallFileSpec (const FileSpec &file) in SetRemoteInstallFileSpec() 597 const FileSpec & 604 SetSymbolFileFileSpec (const FileSpec &file); [all …]
|
| HD | FileSpecList.h | 75 Append (const FileSpec &file); 90 AppendIfUnique (const FileSpec &file); 130 …FindFileIndex (size_t idx, const FileSpec &file, bool full, bool remove_backup_dots = false) const; 148 const FileSpec & 164 const FileSpec * 198 Insert (size_t idx, const FileSpec &file) in Insert() 214 Replace (size_t idx, const FileSpec &file) in Replace() 238 typedef std::vector<FileSpec> collection; ///< The collection type for the file list.
|
| HD | SearchFilter.h | 123 ModulePasses (const FileSpec &spec); 160 CompUnitPasses (FileSpec &fileSpec); 278 ModulePasses (const FileSpec &module_spec) override; 310 const FileSpec &module); 324 ModulePasses (const FileSpec &spec) override; 330 CompUnitPasses (FileSpec &fileSpec) override; 352 FileSpec m_module_spec; 385 ModulePasses (const FileSpec &spec) override; 391 CompUnitPasses (FileSpec &fileSpec) override; 447 CompUnitPasses (FileSpec &fileSpec) override;
|
| /NextBSD/contrib/llvm/tools/lldb/source/Utility/ |
| HD | ModuleCache.cpp | 33 FileSpec 34 JoinPath (const FileSpec &path1, const char* path2) in JoinPath() 36 FileSpec result_spec (path1); in JoinPath() 42 MakeDirectory (const FileSpec &dir_path) in MakeDirectory() 55 FileSpec 56 GetModuleDirectory (const FileSpec &root_dir_spec, const UUID &uuid) in GetModuleDirectory() 63 …stSysRootModuleLink (const FileSpec &root_dir_spec, const char *hostname, const FileSpec &platform… in CreateHostSysRootModuleLink() 70 …const auto error = MakeDirectory (FileSpec (sysroot_module_path_spec.GetDirectory ().AsCString (),… in CreateHostSysRootModuleLink() 80 ModuleCache::Put (const FileSpec &root_dir_spec, in Put() 83 const FileSpec &tmp_file) in Put() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ |
| HD | ProcessMonitor.h | 56 const lldb_private::FileSpec &stdin_file_spec, 57 const lldb_private::FileSpec &stdout_file_spec, 58 const lldb_private::FileSpec &stderr_file_spec, 59 const lldb_private::FileSpec &working_dir, 254 const lldb_private::FileSpec &stdin_file_spec, 255 const lldb_private::FileSpec &stdout_file_spec, 256 const lldb_private::FileSpec &stderr_file_spec, 257 const lldb_private::FileSpec &working_dir); 264 const lldb_private::FileSpec m_stdin_file_spec; // Redirect stdin or empty. 265 const lldb_private::FileSpec m_stdout_file_spec; // Redirect stdout or empty. [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ |
| HD | GDBRemoteCommunicationClient.h | 214 SetSTDIN(const FileSpec &file_spec); 216 SetSTDOUT(const FileSpec &file_spec); 218 SetSTDERR(const FileSpec &file_spec); 259 SetWorkingDir(const FileSpec &working_dir); 272 GetWorkingDir(FileSpec &working_dir); 466 OpenFile (const FileSpec& file_spec, uint32_t flags, mode_t mode, Error &error); 472 GetFileSize (const FileSpec& file_spec); 475 GetFilePermissions(const FileSpec &file_spec, uint32_t &file_permissions); 478 SetFilePermissions(const FileSpec &file_spec, uint32_t file_permissions); 495 CreateSymlink(const FileSpec &src, [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/API/ |
| HD | SBFileSpec.h | 81 SBFileSpec (const lldb_private::FileSpec& fspec); 84 SetFileSpec (const lldb_private::FileSpec& fspec); 86 const lldb_private::FileSpec * 89 const lldb_private::FileSpec * 92 const lldb_private::FileSpec & 95 const lldb_private::FileSpec & 98 std::unique_ptr<lldb_private::FileSpec> m_opaque_ap;
|