[llvm-commits] CVS: llvm/lib/System/Win32/Process.cpp

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



Changes in directory llvm/lib/System/Win32:

Process.cpp updated: 1.5 -> 1.6
---
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:  (+9 -0)

Index: llvm/lib/System/Win32/Process.cpp
diff -u llvm/lib/System/Win32/Process.cpp:1.5 llvm/lib/System/Win32/Process.cpp:1.6
--- llvm/lib/System/Win32/Process.cpp:1.5	Wed Dec 22 21:44:40 2004
+++ llvm/lib/System/Win32/Process.cpp	Mon Dec 27 00:17:26 2004
@@ -90,5 +90,14 @@
   sys_time.nanoseconds( unsigned(KernelTime % 10000000) * 100 );
 }
 
+// Some LLVM programs such as bugpoint produce core files as a normal part of
+// their operation. To prevent the disk from filling up, this configuration item
+// does what's necessary to prevent their generation.
+void Process::PreventCoreFiles() {
+  // Windows doesn't do core files, so nothing to do.
+  // Although...  it might be nice to prevent the do-you-want-to-debug
+  // dialog box from coming up.  Or maybe not...
+}
+
 }
 // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab






More information about the llvm-commits mailing list