Fixup AreCoreFilesPrevented() to consider first LLVM_ENABLE_CRASH_DUMPS and secondly...
authorDouglas Yung <douglas.yung@sony.com>
Thu, 23 Aug 2018 18:20:13 +0000 (18:20 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Thu, 23 Aug 2018 18:20:13 +0000 (18:20 +0000)
commit66be164fd865f01c3d44b7f31c4c2f1f94630deb
tree720fc6f8bd638e642d9f974d714ac4c213ee4ce0
parent520201babb792eec7062630a9c3d48b13baeb701
Fixup AreCoreFilesPrevented() to consider first LLVM_ENABLE_CRASH_DUMPS and secondly coreFilesPrevented.

The previous change ignored the latter resulting in crash dumps being generated when LLVM_ENABLE_CRASH_DUMPS was
set, but coreFilesPrevented was true.

llvm-svn: 340561
llvm/lib/Support/Process.cpp