#include "lldb/Host/FileSystem.h"
#include "lldb/Utility/DataBufferLLVM.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Errno.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/Threading.h"
#include <cerrno>
#include <climits>
#include <cstdarg>
#include <cstdio>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <termios.h>
#include <unistd.h>
#include <algorithm>
#include <fstream>
#include <optional>
#include <vector>
Go to the source code of this file.
◆ GetMemoryBuffer()
template<typename T >
static std::unique_ptr< T > GetMemoryBuffer |
( |
const llvm::Twine & |
path, |
|
|
uint64_t |
size, |
|
|
uint64_t |
offset, |
|
|
bool |
is_volatile |
|
) |
| |
|
static |
◆ GetOpenFlags()
Definition at line 372 of file common/FileSystem.cpp.
References lldb_private::File::eOpenOptionAppend, lldb_private::File::eOpenOptionCanCreate, lldb_private::File::eOpenOptionCanCreateNewOnly, lldb_private::File::eOpenOptionCloseOnExec, lldb_private::File::eOpenOptionDontFollowSymlinks, lldb_private::File::eOpenOptionNonBlocking, lldb_private::File::eOpenOptionReadOnly, lldb_private::File::eOpenOptionReadWrite, lldb_private::File::eOpenOptionTruncate, lldb_private::File::eOpenOptionWriteOnly, and O_NONBLOCK.
Referenced by lldb_private::FileSystem::Open().
◆ GetOpenMode()
static mode_t GetOpenMode |
( |
uint32_t |
permissions | ) |
|
|
static |
◆ OpenWithFS()
static int OpenWithFS |
( |
const FileSystem & |
fs, |
|
|
const char * |
path, |
|
|
int |
flags, |
|
|
int |
mode |
|
) |
| |
|
static |