LLVM  8.0.1
Macros | Variables
Process.cpp File Reference
#include "llvm/Support/Process.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Config/llvm-config.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 = !LLVM_ENABLE_CRASH_DUMPS
 

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 70 of file Process.cpp.

◆ COLOR

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

Definition at line 68 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:70

Definition at line 81 of file Process.cpp.

◆ coreFilesPrevented

bool coreFilesPrevented = !LLVM_ENABLE_CRASH_DUMPS
static

Definition at line 88 of file Process.cpp.

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