[llvm-commits] CVS: llvm/include/llvm/System/Process.h

Reid Spencer reid at x10sys.com
Sun Dec 26 22:17:38 PST 2004



Changes in directory llvm/include/llvm/System:

Process.h updated: 1.2 -> 1.3
---
Log message:

For PR351: http://llvm.cs.uiuc.edu/PR351 :
* Move implementation of sys::PreventCoreFiles function to this file from
  the now defunct SysConfig abstraction.


---
Diffs of the changes:  (+6 -0)

Index: llvm/include/llvm/System/Process.h
diff -u llvm/include/llvm/System/Process.h:1.2 llvm/include/llvm/System/Process.h:1.3
--- llvm/include/llvm/System/Process.h:1.2	Sun Dec 19 18:58:53 2004
+++ llvm/include/llvm/System/Process.h	Mon Dec 27 00:17:27 2004
@@ -63,6 +63,12 @@
           ///< Returns the current amount of system time for the process
       );
 
+      /// This function makes the necessary calls to the operating system to 
+      /// prevent core files or any other kind of large memory dumps that can 
+      /// occur when a program fails.
+      /// @brief Prevent core file generation.
+      static void PreventCoreFiles();
+
     /// @}
   };
 }






More information about the llvm-commits mailing list