diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Support/Process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Process.cpp b/llvm/lib/Support/Process.cpp index b46edb1a791..bf5779d69c6 100644 --- a/llvm/lib/Support/Process.cpp +++ b/llvm/lib/Support/Process.cpp @@ -87,7 +87,7 @@ static const char colorcodes[2][2][8][10] = { static bool coreFilesPrevented = false; bool Process::AreCoreFilesPrevented() { - return !LLVM_ENABLE_CRASH_DUMPS; + return LLVM_ENABLE_CRASH_DUMPS ? coreFilesPrevented : false; } // Include the platform-specific parts of this class. |