10 #ifndef LLDB_SBFileSpec_h_
11 #define LLDB_SBFileSpec_h_
36 bool ResolveExecutableLocation();
38 const char *GetFilename()
const;
40 const char *GetDirectory()
const;
42 void SetFilename(
const char *filename);
44 void SetDirectory(
const char *directory);
46 uint32_t GetPath(
char *dst_path,
size_t dst_len)
const;
48 static int ResolvePath(
const char *src_path,
char *dst_path,
size_t dst_len);
52 void AppendPathComponent(
const char *file_or_directory);
72 SBFileSpec(
const lldb_private::FileSpec &fspec);
74 void SetFileSpec(
const lldb_private::FileSpec &fspec);
76 const lldb_private::FileSpec *operator->()
const;
78 const lldb_private::FileSpec *
get()
const;
80 const lldb_private::FileSpec &operator*()
const;
82 const lldb_private::FileSpec &ref()
const;
84 std::unique_ptr<lldb_private::FileSpec> m_opaque_ap;
89 #endif // LLDB_SBFileSpec_h_
class LLDB_API SBFileSpec