Searched refs:FileSpec (Results 1 - 25 of 259) sorted by relevance

1234567891011

/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.h14 class FileSpec;
16 bool ComputeClangResourceDirectory(FileSpec &lldb_shlib_spec,
17 FileSpec &file_spec, bool verify);
19 FileSpec GetClangResourceDir();
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DHostInfoBase.h13 #include "lldb/Utility/FileSpec.h"
24 class FileSpec;
57 /// directory member of the FileSpec is filled in.
58 static FileSpec GetShlibDir();
61 /// ...). Only the directory member of the FileSpec is filled in.
62 static FileSpec GetSupportExeDir();
65 /// member of the FileSpec is filled in.
66 static FileSpec GetHeaderDir();
69 /// member of the FileSpec is filled in.
70 static FileSpec GetSystemPluginDi
[all...]
H A DFileAction.h12 #include "lldb/Utility/FileSpec.h"
34 bool Open(int fd, const FileSpec &file_spec, bool read, bool write);
44 const FileSpec &GetFileSpec() const;
52 FileSpec
H A DProcessLaunchInfo.h21 #include "lldb/Utility/FileSpec.h"
34 ProcessLaunchInfo(const FileSpec &stdin_file_spec,
35 const FileSpec &stdout_file_spec,
36 const FileSpec &stderr_file_spec,
37 const FileSpec &working_dir, uint32_t launch_flags);
47 bool AppendOpenFileAction(int fd, const FileSpec &file_spec, bool read,
67 const FileSpec &GetWorkingDirectory() const;
69 void SetWorkingDirectory(const FileSpec &working_dir);
75 const FileSpec &GetShell() const;
77 void SetShell(const FileSpec
[all...]
H A DFileSystem.h14 #include "lldb/Utility/FileSpec.h"
51 static llvm::Error Initialize(const FileSpec &mapping);
55 Status Symlink(const FileSpec &src, const FileSpec &dst);
56 Status Readlink(const FileSpec &src, FileSpec &dst);
58 Status ResolveSymbolicLink(const FileSpec &src, FileSpec &dst);
67 Open(const FileSpec &file_spec, File::OpenOptions options,
73 llvm::vfs::directory_iterator DirBegin(const FileSpec
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp1 //===-- FileSpec.cpp --------------------------------------------*- C++ -*-===//
9 #include "lldb/Utility/FileSpec.h"
37 static constexpr FileSpec::Style GetNativeStyle() {
39 return FileSpec::Style::windows;
41 return FileSpec::Style::posix;
45 bool PathStyleIsPosix(FileSpec::Style style) {
46 return (style == FileSpec::Style::posix ||
47 (style == FileSpec::Style::native &&
48 GetNativeStyle() == FileSpec::Style::posix));
51 const char *GetPathSeparators(FileSpec
68 FileSpec::FileSpec() : m_style(GetNativeStyle()) {} function in class:FileSpec
71 FileSpec::FileSpec(llvm::StringRef path, Style style) : m_style(style) { function in class:FileSpec
75 FileSpec::FileSpec(llvm::StringRef path, const llvm::Triple &triple) function in class:FileSpec
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DModuleCache.h16 #include "lldb/Utility/FileSpec.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,
H A DRemoteAwarePlatform.h22 bool GetModuleSpec(const FileSpec &module_file_spec, const ArchSpec &arch,
25 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
36 lldb::user_id_t GetFileSize(const FileSpec &file_spec) override;
38 Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override;
40 bool GetFileExists(const FileSpec &file_spec) override;
42 Status Unlink(const FileSpec &file_spec) override;
44 FileSpec GetRemoteWorkingDirectory() override;
46 bool SetRemoteWorkingDirectory(const FileSpec &working_dir) override;
48 Status MakeDirectory(const FileSpec
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionValueFileSpec.h14 #include "lldb/Utility/FileSpec.h"
23 OptionValueFileSpec(const FileSpec &value, bool resolve = true);
25 OptionValueFileSpec(const FileSpec &current_value,
26 const FileSpec &default_value, bool resolve = true);
59 FileSpec &GetCurrentValue() { return m_current_value; }
61 const FileSpec &GetCurrentValue() const { return m_current_value; }
63 const FileSpec &GetDefaultValue() const { return m_default_value; }
65 void SetCurrentValue(const FileSpec &value, bool set_value_was_set) {
72 void SetDefaultValue(const FileSpec &value) { m_default_value = value; }
79 FileSpec m_current_valu
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DLocateSymbolFile.h15 #include "lldb/Utility/FileSpec.h"
35 static FileSpec
39 static FileSpec FindSymbolFileInBundle(const FileSpec &dsym_bundle_fspec,
H A DDeclaration.h12 #include "lldb/Utility/FileSpec.h"
49 Declaration(const FileSpec &file_spec, uint32_t line = 0, uint32_t column = 0)
138 FileSpec &GetFile() { return m_file; }
144 const FileSpec &GetFile() const { return m_file; }
180 void SetFile(const FileSpec &file_spec) { m_file = file_spec; }
191 FileSpec m_file; ///< The file specification that points to the
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DFileSpec.h1 //===-- FileSpec.h ----------------------------------------------*- C++ -*-===//
40 /// \class FileSpec FileSpec.h "lldb/Host/FileSpec.h"
55 class FileSpec { class in namespace:lldb_private
59 FileSpec();
65 /// FileSpec::SetFile (const char *path).
73 /// \see FileSpec::SetFile (const char *path)
74 explicit FileSpec(llvm::StringRef path, Style style = Style::native);
76 explicit FileSpec(llv
[all...]
H A DReproducer.h12 #include "lldb/Utility/FileSpec.h"
41 const FileSpec &GetRoot() const { return m_root; }
61 ProviderBase(const FileSpec &root) : m_root(root) {}
65 FileSpec m_root;
91 FileProvider(const FileSpec &directory)
121 VersionProvider(const FileSpec &directory) : Provider(directory) {}
141 WorkingDirectoryProvider(const FileSpec &directory) : Provider(directory) {
158 AbstractRecorder(const FileSpec &filename, std::error_code &ec)
163 const FileSpec &GetFilename() { return m_filename; }
171 FileSpec m_filenam
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DFileSystemPosix.cpp36 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) {
43 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) {
51 dst.SetFile(buf, FileSpec::Style::native);
56 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) {
69 dst = FileSpec(real_path);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DFileSpecList.h13 #include "lldb/Utility/FileSpec.h"
25 /// A class that contains a mutable list of FileSpec objects.
28 typedef std::vector<FileSpec> collection;
43 FileSpecList(std::vector<FileSpec> &&rhs) : m_files(std::move(rhs)) {}
62 /// Append a FileSpec object to the list.
68 void Append(const FileSpec &file);
70 /// Append a FileSpec object if unique.
80 bool AppendIfUnique(const FileSpec &file);
82 /// Inserts a new FileSpec into the FileSpecList constructed in-place with
86 /// Arguments to create the FileSpec
[all...]
H A DSourceManager.h12 #include "lldb/Utility/FileSpec.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; }
70 FileSpec m_file_spec_orig; // The original file spec that was used (can be
72 FileSpec m_file_spec; // The actually file spec being used (if the target
88 void CommonInitializer(const FileSpec &file_spec, Target *target);
102 FileSP FindSourceFile(const FileSpec &file_spec) const;
105 typedef std::map<FileSpec, FileSP> FileCache;
122 DisplaySourceLinesWithLineNumbers(const FileSpec
[all...]
H A DFileLineResolver.h14 #include "lldb/Utility/FileSpec.h"
34 FileLineResolver(const FileSpec &resolver, uint32_t line_no,
51 void Reset(const FileSpec &file_spec, uint32_t line, bool check_inlines);
54 FileSpec m_file_spec; // This is the file spec we are looking for.
H A DAddressResolverFileLine.h14 #include "lldb/Utility/FileSpec.h"
31 AddressResolverFileLine(const FileSpec &resolver, uint32_t line_no,
45 FileSpec m_file_spec; // This is the file spec we are looking for.
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DHostInfoBase.cpp58 FileSpec m_lldb_so_dir;
60 FileSpec m_lldb_support_exe_dir;
62 FileSpec m_lldb_headers_dir;
64 FileSpec m_lldb_clang_resource_dir;
66 FileSpec m_lldb_system_plugin_dir;
68 FileSpec m_lldb_user_plugin_dir;
70 FileSpec m_lldb_process_tmp_dir;
72 FileSpec m_lldb_global_tmp_dir;
118 FileSpec HostInfoBase::GetShlibDir() {
121 g_fields->m_lldb_so_dir = FileSpec();
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/posix/
H A DHostInfoPosix.h13 #include "lldb/Utility/FileSpec.h"
31 static FileSpec GetDefaultShell();
38 static bool ComputeSupportExeDirectory(FileSpec &file_spec);
39 static bool ComputeHeaderDirectory(FileSpec &file_spec);
H A DHostProcessPosix.h18 class FileSpec;
30 Status GetMainModule(FileSpec &file_spec) const override;
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/API/
H A DSBFileSpec.h78 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-11-stable/contrib/llvm-project/lldb/source/Target/
H A DModuleCache.cpp53 FileSpec m_file_spec;
56 ModuleLock(const FileSpec &root_dir_spec, const UUID &uuid, Status &error);
60 static FileSpec JoinPath(const FileSpec &path1, const char *path2) {
61 FileSpec result_spec(path1);
66 static Status MakeDirectory(const FileSpec &dir_path) {
72 FileSpec GetModuleDirectory(const FileSpec &root_dir_spec, const UUID &uuid) {
77 FileSpec GetSymbolFileSpec(const FileSpec
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DLocateSymbolFile.cpp48 static bool FileAtPathContainsArchAndUUID(const FileSpec &file_fspec,
77 const FileSpec &exec_fspec,
78 FileSpec &dsym_fspec) {
80 FileSpec dsym_directory = exec_fspec;
122 FileSpec dsym_yaa_fspec = exec_fspec;
140 // Given a ModuleSpec with a FileSpec and optionally uuid/architecture
143 // FileSpec.
153 FileSpec &dsym_fspec) {
155 const FileSpec &exec_fspec = module_spec.GetFileSpec();
165 FileSpec parent_dir
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.h48 bool GetModuleSpec(const FileSpec &module_file_spec, const ArchSpec &arch,
53 Status GetFileWithUUID(const FileSpec &platform_file, const UUID *uuid_ptr,
54 FileSpec &local_file) override;
91 FileSpec GetRemoteWorkingDirectory() override;
93 bool SetRemoteWorkingDirectory(const FileSpec &working_dir) override;
107 Status MakeDirectory(const FileSpec &file_spec,
110 Status GetFilePermissions(const FileSpec &file_spec,
113 Status SetFilePermissions(const FileSpec &file_spec,
116 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
127 lldb::user_id_t GetFileSize(const FileSpec
[all...]

Completed in 116 milliseconds

1234567891011