LLVM  6.0.0svn
Macros | Variables
Process.cpp File Reference
#include "llvm/Support/Process.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Config/config.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
#include "Unix/Process.inc"
Include dependency graph for Process.cpp:

Go to the source code of this file.

Macros

#define COLOR(FGBG, CODE, BOLD)   "\033[0;" BOLD FGBG CODE "m"
 
#define ALLCOLORS(FGBG, BOLD)
 

Variables

static const char colorcodes [2][2][8][10]
 
static bool coreFilesPrevented = false
 

Macro Definition Documentation

◆ ALLCOLORS

#define ALLCOLORS (   FGBG,
  BOLD 
)
Value:
{\
COLOR(FGBG, "0", BOLD),\
COLOR(FGBG, "1", BOLD),\
COLOR(FGBG, "2", BOLD),\
COLOR(FGBG, "3", BOLD),\
COLOR(FGBG, "4", BOLD),\
COLOR(FGBG, "5", BOLD),\
COLOR(FGBG, "6", BOLD),\
COLOR(FGBG, "7", BOLD)\
}

Definition at line 69 of file Process.cpp.

◆ COLOR

#define COLOR (   FGBG,
  CODE,
  BOLD 
)    "\033[0;" BOLD FGBG CODE "m"

Definition at line 67 of file Process.cpp.

Variable Documentation

◆ colorcodes

const char colorcodes[2][2][8][10]
static
Initial value:
= {
{ ALLCOLORS("3",""), ALLCOLORS("3","1;") },
{ ALLCOLORS("4",""), ALLCOLORS("4","1;") }
}
#define ALLCOLORS(FGBG, BOLD)
Definition: Process.cpp:69

Definition at line 80 of file Process.cpp.

◆ coreFilesPrevented

bool coreFilesPrevented = false
static

Definition at line 86 of file Process.cpp.

Referenced by llvm::sys::Process::AreCoreFilesPrevented().