mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 09:54:09 +00:00
For PR351:
* sys::PreventCoreFiles -> sys::Process::PreventCoreFiles git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19162 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7c1e2f96cd
commit
51163306ab
@ -16,9 +16,9 @@
|
||||
#include "BugDriver.h"
|
||||
#include "llvm/Support/PassNameParser.h"
|
||||
#include "llvm/Support/ToolRunner.h"
|
||||
#include "llvm/System/SysConfig.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
#include "llvm/Support/PluginLoader.h"
|
||||
#include "llvm/System/Process.h"
|
||||
#include "llvm/System/Signals.h"
|
||||
using namespace llvm;
|
||||
|
||||
@ -45,7 +45,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
// Bugpoint has the ability of generating a plethora of core files, so to
|
||||
// avoid filling up the disk, we prevent it
|
||||
sys::PreventCoreFiles();
|
||||
sys::Process::PreventCoreFiles();
|
||||
|
||||
try {
|
||||
return D.run();
|
||||
|
Loading…
Reference in New Issue
Block a user