| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | FileSpec.cpp | 68 FileSpec::FileSpec() : m_style(GetNativeStyle()) {} in FileSpec() function in FileSpec 230 bool FileSpec::DirectoryEquals(const FileSpec &rhs) const { in DirectoryEquals() 235 bool FileSpec::FileEquals(const FileSpec &rhs) const { in FileEquals() 241 bool FileSpec::operator==(const FileSpec &rhs) const { in operator ==() 249 bool FileSpec::operator<(const FileSpec &rhs) const { in operator <() 274 int FileSpec::Compare(const FileSpec &a, const FileSpec &b, bool full) { in Compare() 295 bool FileSpec::Equal(const FileSpec &a, const FileSpec &b, bool full) { in Equal() 302 bool FileSpec::Match(const FileSpec &pattern, const FileSpec &file) { in Match() 399 FileSpec 406 FileSpec FileSpec::CopyByRemovingLastPathComponent() const { in CopyByRemovingLastPathComponent() [all …]
|
| H A D | ReproducerProvider.cpp | 22 DataRecorder::Create(const FileSpec &filename) { in Create() 31 YamlRecorder::Create(const FileSpec &filename) { in Create() 40 FileSpec file = GetRoot().CopyByAppendingPathComponent(Info::file); in Keep() 93 ProcessInfoRecorder::Create(const FileSpec &filename) { in Create() 109 FileSpec file = GetRoot().CopyByAppendingPathComponent(Info::file); in Keep() 145 const FileSpec &module_file, in AddSymbolFile() 146 const FileSpec &symbol_file) { in AddSymbolFile() 174 FileSpec file = loader->GetFile<SymbolFileProvider::Info>(); in SymbolFileLoader() 186 std::pair<FileSpec, FileSpec> 195 return std::make_pair<FileSpec, FileSpec>(FileSpec(it->module_path), in GetPaths() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Host/ |
| H A D | HostInfoBase.h | 26 class FileSpec; variable 71 static FileSpec GetShlibDir(); 75 static FileSpec GetSupportExeDir(); 79 static FileSpec GetHeaderDir(); 83 static FileSpec GetSystemPluginDir(); 87 static FileSpec GetUserPluginDir(); 92 static FileSpec GetProcessTempDir(); 97 static FileSpec GetGlobalTempDir(); 107 static FileSpec GetXcodeContentsDirectory() { return {}; } in GetXcodeContentsDirectory() 108 static FileSpec GetXcodeDeveloperDirectory() { return {}; } in GetXcodeDeveloperDirectory() [all …]
|
| H A D | FileSystem.h | 56 Status Symlink(const FileSpec &src, const FileSpec &dst); 57 Status Readlink(const FileSpec &src, FileSpec &dst); 59 Status ResolveSymbolicLink(const FileSpec &src, FileSpec &dst); 111 bool Exists(const FileSpec &file_spec) const; 117 bool Readable(const FileSpec &file_spec) const; 123 bool IsDirectory(const FileSpec &file_spec) const; 129 bool IsLocal(const FileSpec &file_spec) const; 142 void Resolve(FileSpec &file_spec); 156 bool ResolveExecutableLocation(FileSpec &file_spec); 160 bool GetHomeDirectory(FileSpec &file_spec) const; [all …]
|
| H A D | ProcessLaunchInfo.h | 35 ProcessLaunchInfo(const FileSpec &stdin_file_spec, 36 const FileSpec &stdout_file_spec, 37 const FileSpec &stderr_file_spec, 38 const FileSpec &working_dir, uint32_t launch_flags); 48 bool AppendOpenFileAction(int fd, const FileSpec &file_spec, bool read, 68 const FileSpec &GetWorkingDirectory() const; 70 void SetWorkingDirectory(const FileSpec &working_dir); 76 const FileSpec &GetShell() const; 78 void SetShell(const FileSpec &shell); 173 FileSpec m_working_dir; [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | FileSpec.h | 56 class FileSpec { 60 FileSpec(); 79 bool DirectoryEquals(const FileSpec &other) const; 81 bool FileEquals(const FileSpec &other) const; 94 bool operator==(const FileSpec &rhs) const; 107 bool operator!=(const FileSpec &rhs) const; 120 bool operator<(const FileSpec &rhs) const; 183 static int Compare(const FileSpec &lhs, const FileSpec &rhs, bool full); 185 static bool Equal(const FileSpec &a, const FileSpec &b, bool full); 191 static bool Match(const FileSpec &pattern, const FileSpec &file); [all …]
|
| H A D | Reproducer.h | 45 const FileSpec &GetRoot() const { return m_root; } in GetRoot() 69 FileSpec m_root; 94 Generator(FileSpec root); 134 const FileSpec &GetRoot() const; 149 FileSpec m_root; 160 Loader(FileSpec root, bool passive = false); 162 template <typename T> FileSpec GetFile() { in GetFile() 170 FileSpec file = GetFile<typename T::Info>(); in LoadBuffer() 187 FileSpec m_root; 212 FileSpec GetReproducerPath() const; [all …]
|
| H A D | ReproducerProvider.h | 39 const FileSpec &GetFilename() { return m_filename; } in GetFilename() 47 FileSpec m_filename; 61 Create(const FileSpec &filename); 80 Create(const FileSpec &filename); 209 HomeDirectoryProvider(const FileSpec &directory) in HomeDirectoryProvider() 225 SymbolFileProvider(const FileSpec &directory) in SymbolFileProvider() 229 const FileSpec &symbol_path); 314 CommandProvider(const FileSpec &directory) in CommandProvider() 326 Create(const FileSpec &filename); 378 FileSpec absolute_path = in Create() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | HostInfoBase.cpp | 53 FileSpec m_lldb_so_dir; 55 FileSpec m_lldb_support_exe_dir; 57 FileSpec m_lldb_headers_dir; 59 FileSpec m_lldb_clang_resource_dir; 61 FileSpec m_lldb_system_plugin_dir; 63 FileSpec m_lldb_user_plugin_dir; 65 FileSpec m_lldb_process_tmp_dir; 67 FileSpec m_lldb_global_tmp_dir; 118 FileSpec HostInfoBase::GetShlibDir() { in GetShlibDir() 267 FileSpec temp_file_spec; in ComputeProcessTempFileDirectory() [all …]
|
| H A D | FileSystem.cpp | 57 llvm::Error FileSystem::Initialize(const FileSpec &mapping) { in Initialize() 104 FileSystem::GetStatus(const FileSpec &file_spec) const { in GetStatus() 146 uint32_t FileSystem::GetPermissions(const FileSpec &file_spec, in GetPermissions() 170 bool FileSystem::Exists(const FileSpec &file_spec) const { in Exists() 178 bool FileSystem::Readable(const FileSpec &file_spec) const { in Readable() 199 bool FileSystem::IsLocal(const FileSpec &file_spec) const { in IsLocal() 245 FileSpec new_file_spec(path, file_spec.GetPathStyle()); in MakeAbsolute() 277 void FileSystem::Resolve(FileSpec &file_spec) { in Resolve() 355 FileSpec result(*error_or_path); in ResolveExecutableLocation() 450 Expected<FileUP> FileSystem::Open(const FileSpec &file_spec, in Open() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | RemoteAwarePlatform.h | 40 lldb::user_id_t GetFileSize(const FileSpec &file_spec) override; 42 Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override; 44 bool GetFileExists(const FileSpec &file_spec) override; 46 Status Unlink(const FileSpec &file_spec) override; 48 FileSpec GetRemoteWorkingDirectory() override; 50 bool SetRemoteWorkingDirectory(const FileSpec &working_dir) override; 54 Status GetFilePermissions(const FileSpec &file_spec, 57 Status SetFilePermissions(const FileSpec &file_spec, 60 bool CalculateMD5(const FileSpec &file_spec, uint64_t &low, 64 FileSpec &local_file) override; [all …]
|
| H A D | Platform.h | 51 FileSpec GetModuleCacheDirectory() const; 52 bool SetModuleCacheDirectory(const FileSpec &dir_spec); 200 FileSpec &sym_file); 491 FileSpec GetWorkingDirectory(); 493 bool SetWorkingDirectory(const FileSpec &working_dir); 544 virtual Status GetFile(const FileSpec &source, const FileSpec &destination); 546 virtual Status PutFile(const FileSpec &source, const FileSpec &destination, 575 virtual Status Install(const FileSpec &src, const FileSpec &dst); 581 virtual Status Unlink(const FileSpec &file_spec); 742 virtual FileSpec LocateExecutable(const char *basename) { return FileSpec(); } in LocateExecutable() [all …]
|
| H A D | ModuleCache.h | 50 std::function<Status(const ModuleSpec &, const FileSpec &)>; 52 std::function<Status(const lldb::ModuleSP &, const FileSpec &)>; 54 Status GetAndPut(const FileSpec &root_dir_spec, const char *hostname, 61 Status Put(const FileSpec &root_dir_spec, const char *hostname, 62 const ModuleSpec &module_spec, const FileSpec &tmp_file, 63 const FileSpec &target_file); 65 Status Get(const FileSpec &root_dir_spec, const char *hostname,
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | ModuleCache.cpp | 53 FileSpec m_file_spec; 60 static FileSpec JoinPath(const FileSpec &path1, const char *path2) { in JoinPath() 61 FileSpec result_spec(path1); in JoinPath() 66 static Status MakeDirectory(const FileSpec &dir_path) { in MakeDirectory() 72 FileSpec GetModuleDirectory(const FileSpec &root_dir_spec, const UUID &uuid) { in GetModuleDirectory() 77 FileSpec GetSymbolFileSpec(const FileSpec &module_file_spec) { in GetSymbolFileSpec() 78 return FileSpec(module_file_spec.GetPath() + kSymFileExtension); in GetSymbolFileSpec() 81 void DeleteExistingModule(const FileSpec &root_dir_spec, in DeleteExistingModule() 114 void DecrementRefExistingModule(const FileSpec &root_dir_spec, in DecrementRefExistingModule() 192 const FileSpec &target_file) { in Put() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | LocateSymbolFile.cpp | 81 FileSpec dsym_directory = exec_fspec; in LookForDsymNextToExecutablePath() 123 FileSpec dsym_yaa_fspec = exec_fspec; in LookForDsymNextToExecutablePath() 166 FileSpec parent_dirs = exec_fspec; in LocateDSYMInVincinityOfExecutable() 217 FileSpec symbol_fspec; in LocateExecutableSymbolFileDsym() 256 FileSpec 283 FileSpec file_spec("."); in LocateExecutableSymbolFile() 292 FileSpec file_spec("/usr/libdata/debug"); in LocateExecutableSymbolFile() 299 FileSpec file_spec("/usr/lib/debug"); in LocateExecutableSymbolFile() 347 FileSpec file_spec(filename); in LocateExecutableSymbolFile() 379 FileSpec Symbols::FindSymbolFileInBundle(const FileSpec &symfile_bundle, in FindSymbolFileInBundle() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
| H A D | OptionValueFileSpec.h | 24 OptionValueFileSpec(const FileSpec &value, bool resolve = true); 26 OptionValueFileSpec(const FileSpec ¤t_value, 27 const FileSpec &default_value, bool resolve = true); 54 FileSpec &GetCurrentValue() { return m_current_value; } in GetCurrentValue() 56 const FileSpec &GetCurrentValue() const { return m_current_value; } in GetCurrentValue() 58 const FileSpec &GetDefaultValue() const { return m_default_value; } in GetDefaultValue() 60 void SetCurrentValue(const FileSpec &value, bool set_value_was_set) { in SetCurrentValue() 67 void SetDefaultValue(const FileSpec &value) { m_default_value = value; } in SetDefaultValue() 74 FileSpec m_current_value; 75 FileSpec m_default_value;
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | SourceManager.h | 38 File(const FileSpec &file_spec, Target *target); 39 File(const FileSpec &file_spec, lldb::DebuggerSP debugger_sp); 57 const FileSpec &GetFileSpec() { return m_file_spec; } in GetFileSpec() 88 void CommonInitializer(const FileSpec &file_spec, Target *target); 102 FileSP FindSourceFile(const FileSpec &file_spec) const; 108 typedef std::map<FileSpec, FileSP> FileCache; 125 DisplaySourceLinesWithLineNumbers(const FileSpec &file, uint32_t line, 140 bool SetDefaultFileAndLine(const FileSpec &file_spec, uint32_t line); 142 bool GetDefaultFileAndLine(FileSpec &file_spec, uint32_t &line); 152 FileSP GetFile(const FileSpec &file_spec); [all …]
|
| H A D | ModuleSpec.h | 54 const FileSpec *GetFileSpecPtr() const { in GetFileSpecPtr() 58 FileSpec &GetFileSpec() { return m_file; } in GetFileSpec() 60 const FileSpec &GetFileSpec() const { return m_file; } in GetFileSpec() 62 FileSpec *GetPlatformFileSpecPtr() { in GetPlatformFileSpecPtr() 66 const FileSpec *GetPlatformFileSpecPtr() const { in GetPlatformFileSpecPtr() 74 FileSpec *GetSymbolFileSpecPtr() { in GetSymbolFileSpecPtr() 78 const FileSpec *GetSymbolFileSpecPtr() const { in GetSymbolFileSpecPtr() 82 FileSpec &GetSymbolFileSpec() { return m_symbol_file; } in GetSymbolFileSpec() 267 FileSpec m_file; 268 FileSpec m_platform_file; [all …]
|
| H A D | FileSpecList.h | 28 typedef std::vector<FileSpec> collection; 43 FileSpecList(std::vector<FileSpec> &&rhs) : m_files(std::move(rhs)) {} in FileSpecList() 68 void Append(const FileSpec &file); 80 bool AppendIfUnique(const FileSpec &file); 117 size_t FindFileIndex(size_t idx, const FileSpec &file, bool full) const; 132 const FileSpec &GetFileSpecAtIndex(size_t idx) const; 145 const FileSpec *GetFileSpecPointerAtIndex(size_t idx) const; 167 bool Insert(size_t idx, const FileSpec &file) { in Insert() 178 bool Replace(size_t idx, const FileSpec &file) { in Replace()
|
| H A D | Module.h | 113 const FileSpec &file_spec, const ArchSpec &arch, 347 const FileSpec &file, uint32_t line, 465 const FileSpec &GetFileSpec() const { return m_file; } in GetFileSpec() 479 const FileSpec &GetPlatformFileSpec() const { in GetPlatformFileSpec() 487 const FileSpec &GetRemoteInstallFileSpec() const { in GetRemoteInstallFileSpec() 491 void SetRemoteInstallFileSpec(const FileSpec &file) { in SetRemoteInstallFileSpec() 499 void SetSymbolFileFileSpec(const FileSpec &file); 776 const FileSpec &file_spec, uint32_t line, bool check_inlines, 779 void SetFileSpecAndObjectName(const FileSpec &file, 842 bool FindSourceFile(const FileSpec &orig_spec, FileSpec &new_spec) const; [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/ |
| H A D | PlatformRemoteGDBServer.h | 55 FileSpec &local_file) override; 92 FileSpec GetRemoteWorkingDirectory() override; 94 bool SetRemoteWorkingDirectory(const FileSpec &working_dir) override; 108 Status MakeDirectory(const FileSpec &file_spec, 111 Status GetFilePermissions(const FileSpec &file_spec, 114 Status SetFilePermissions(const FileSpec &file_spec, 128 lldb::user_id_t GetFileSize(const FileSpec &file_spec) override; 133 Status PutFile(const FileSpec &source, const FileSpec &destination, 136 Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override; 138 bool GetFileExists(const FileSpec &file_spec) override; [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Host/posix/ |
| H A D | FileSystemPosix.cpp | 36 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) { in Symlink() 43 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) { in Readlink() 51 dst.SetFile(buf, FileSpec::Style::native); in Readlink() 56 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) { in ResolveSymbolicLink() 69 dst = FileSpec(real_path); in ResolveSymbolicLink()
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/API/ |
| H A D | SBFileSpec.h | 78 SBFileSpec(const lldb_private::FileSpec &fspec); 80 void SetFileSpec(const lldb_private::FileSpec &fspec); 82 const lldb_private::FileSpec *operator->() const; 84 const lldb_private::FileSpec *get() const; 86 const lldb_private::FileSpec &operator*() const; 88 const lldb_private::FileSpec &ref() const; 90 std::unique_ptr<lldb_private::FileSpec> m_opaque_up;
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/API/ |
| H A D | SBFileSpec.cpp | 26 SBFileSpec::SBFileSpec() : m_opaque_up(new lldb_private::FileSpec()) { in SBFileSpec() 36 SBFileSpec::SBFileSpec(const lldb_private::FileSpec &fspec) in SBFileSpec() 37 : m_opaque_up(new lldb_private::FileSpec(fspec)) {} in SBFileSpec() 40 SBFileSpec::SBFileSpec(const char *path) : m_opaque_up(new FileSpec(path)) { in SBFileSpec() 47 : m_opaque_up(new FileSpec(path)) { in SBFileSpec() 122 FileSpec directory{*m_opaque_up}; in GetDirectory() 156 const lldb_private::FileSpec *SBFileSpec::operator->() const { in operator ->() 160 const lldb_private::FileSpec *SBFileSpec::get() const { in get() 164 const lldb_private::FileSpec &SBFileSpec::operator*() const { in operator *() 168 const lldb_private::FileSpec &SBFileSpec::ref() const { return *m_opaque_up; } in ref() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Core/ |
| H A D | FileSpecList.cpp | 26 void FileSpecList::Append(const FileSpec &file_spec) { in Append() 34 bool FileSpecList::AppendIfUnique(const FileSpec &file_spec) { in AppendIfUnique() 61 size_t FileSpecList::FindFileIndex(size_t start_idx, const FileSpec &file_spec, in FindFileIndex() 76 if (FileSpec::Equal(m_files[idx], file_spec, full)) in FindFileIndex() 87 const FileSpec &FileSpecList::GetFileSpecAtIndex(size_t idx) const { in GetFileSpecAtIndex() 90 static FileSpec g_empty_file_spec; in GetFileSpecAtIndex() 94 const FileSpec *FileSpecList::GetFileSpecPointerAtIndex(size_t idx) const { in GetFileSpecPointerAtIndex()
|