From bd3306aecb3a15e8967143b8cdbbccf2b1b19b74 Mon Sep 17 00:00:00 2001 From: patrick Date: Sat, 14 Jan 2017 19:55:43 +0000 Subject: Import LLVM 3.9.1 including clang and lld. --- gnu/llvm/lib/Support/Process.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/llvm/lib/Support/Process.cpp') diff --git a/gnu/llvm/lib/Support/Process.cpp b/gnu/llvm/lib/Support/Process.cpp index 6dcbb47e87d..290c30f4968 100644 --- a/gnu/llvm/lib/Support/Process.cpp +++ b/gnu/llvm/lib/Support/Process.cpp @@ -73,6 +73,13 @@ static const char colorcodes[2][2][8][10] = { { ALLCOLORS("4",""), ALLCOLORS("4","1;") } }; +// This is set to true when Process::PreventCoreFiles() is called. +static bool coreFilesPrevented = false; + +bool Process::AreCoreFilesPrevented() { + return coreFilesPrevented; +} + // Include the platform-specific parts of this class. #ifdef LLVM_ON_UNIX #include "Unix/Process.inc" -- cgit v1.2.3-59-g8ed1b