OSDN Git Service

For PR351:
authorReid Spencer <rspencer@reidspencer.com>
Mon, 27 Dec 2004 06:18:02 +0000 (06:18 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 27 Dec 2004 06:18:02 +0000 (06:18 +0000)
* sys::PreventCoreFiles -> sys::Process::PreventCoreFiles

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19162 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/bugpoint.cpp

index 2c98067..ff26a37 100644 (file)
@@ -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();