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 | |
Reid Spencer | 9041843 | 2004-09-15 05:48:49 +0000 | [diff] [blame] | 14 | namespace llvm { |
| 15 | |
| 16 | // Some LLVM programs such as bugpoint produce core files as a normal part of |
| 17 | // their operation. To prevent the disk from filling up, this configuration item |
| 18 | // does what's necessary to prevent their generation. |
| 19 | void sys::PreventCoreFiles() { |
| 20 | // Windows doesn't do core files, so nothing to do. |
| 21 | // Although... it might be nice to prevent the do-you-want-to-debug |
| 22 | // dialog box from coming up. Or maybe not... |
| 23 | } |
| 24 | |
| 25 | } |
| 26 | |
| 27 | // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab |