LLDB  mainline
Functions
common/FileSystem.cpp File Reference
#include "lldb/Host/FileSystem.h"
#include "lldb/Utility/LLDBAssert.h"
#include "lldb/Utility/TildeExpressionResolver.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 <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <termios.h>
#include <unistd.h>
#include <algorithm>
#include <fstream>
#include <vector>
Include dependency graph for common/FileSystem.cpp:

Go to the source code of this file.

Functions

static int OpenWithFS (const FileSystem &fs, const char *path, int flags, int mode)
 
static int GetOpenFlags (uint32_t options)
 
static mode_t GetOpenMode (uint32_t permissions)
 

Function Documentation

◆ GetOpenFlags()

static int GetOpenFlags ( uint32_t  options)
static

Definition at line 347 of file common/FileSystem.cpp.

References O_NONBLOCK.

Referenced by lldb_private::FileSystem::Open().

◆ GetOpenMode()

static mode_t GetOpenMode ( uint32_t  permissions)
static

Definition at line 390 of file common/FileSystem.cpp.

References S_IRGRP, S_IROTH, S_IWGRP, S_IWOTH, S_IXGRP, and S_IXOTH.

Referenced by lldb_private::FileSystem::Open().

◆ OpenWithFS()

static int OpenWithFS ( const FileSystem fs,
const char *  path,
int  flags,
int  mode 
)
static

Definition at line 342 of file common/FileSystem.cpp.

Referenced by lldb_private::FileSystem::Open().