#include "lldb/API/SBFileSpec.h"
#include "Utils.h"
#include "lldb/API/SBStream.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/PosixApi.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Instrumentation.h"
#include "lldb/Utility/Stream.h"
#include "llvm/ADT/SmallString.h"
#include <cinttypes>
#include <climits>
usingnamespacelldb;
usingnamespacelldb_private;
SBFileSpec::SBFileSpec() : … { … }
SBFileSpec::SBFileSpec(const SBFileSpec &rhs) { … }
SBFileSpec::SBFileSpec(const lldb_private::FileSpec &fspec)
: … { … }
SBFileSpec::SBFileSpec(const char *path) : … { … }
SBFileSpec::SBFileSpec(const char *path, bool resolve)
: … { … }
SBFileSpec::~SBFileSpec() = default;
const SBFileSpec &SBFileSpec::operator=(const SBFileSpec &rhs) { … }
bool SBFileSpec::operator==(const SBFileSpec &rhs) const { … }
bool SBFileSpec::operator!=(const SBFileSpec &rhs) const { … }
bool SBFileSpec::IsValid() const { … }
operator bool()
bool SBFileSpec::Exists() const { … }
bool SBFileSpec::ResolveExecutableLocation() { … }
int SBFileSpec::ResolvePath(const char *src_path, char *dst_path,
size_t dst_len) { … }
const char *SBFileSpec::GetFilename() const { … }
const char *SBFileSpec::GetDirectory() const { … }
void SBFileSpec::SetFilename(const char *filename) { … }
void SBFileSpec::SetDirectory(const char *directory) { … }
uint32_t SBFileSpec::GetPath(char *dst_path, size_t dst_len) const { … }
const lldb_private::FileSpec *SBFileSpec::operator->() const { … }
const lldb_private::FileSpec *SBFileSpec::get() const { … }
const lldb_private::FileSpec &SBFileSpec::operator*() const { … }
const lldb_private::FileSpec &SBFileSpec::ref() const { … }
void SBFileSpec::SetFileSpec(const lldb_private::FileSpec &fs) { … }
bool SBFileSpec::GetDescription(SBStream &description) const { … }
void SBFileSpec::AppendPathComponent(const char *fn) { … }