Reid Spencer | 9041843 | 2004-09-15 05:48:49 +0000 | [diff] [blame^] | 1 | //===- Win32/SysConfig.cpp - Win32 System Configuration ---------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by Jeff Cohen and is distributed under the |
| 6 | // University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file defines some functions for managing system configuration on Win32. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #include "llvm/System/SysConfig.h" |
| 15 | |
| 16 | namespace llvm { |
| 17 | |
| 18 | // Some LLVM programs such as bugpoint produce core files as a normal part of |
| 19 | // their operation. To prevent the disk from filling up, this configuration item |
| 20 | // does what's necessary to prevent their generation. |
| 21 | void sys::PreventCoreFiles() { |
| 22 | // Windows doesn't do core files, so nothing to do. |
| 23 | // Although... it might be nice to prevent the do-you-want-to-debug |
| 24 | // dialog box from coming up. Or maybe not... |
| 25 | } |
| 26 | |
| 27 | } |
| 28 | |
| 29 | // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab |