Add method
[oota-llvm.git] / include / llvm / System / SysConfig.h
1 //===- llvm/System/SysConfig.h - System Configuration  ----------*- C++ -*-===//
2 // 
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by Reid Spencer and is distributed under the 
6 // University of Illinois Open Source License. See LICENSE.TXT for details.
7 // 
8 //===----------------------------------------------------------------------===//
9 //
10 // This file declares the SysConfig utilities for platform independent system
11 // configuration (both globally and at the process level).
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef LLVM_SYSTEM_SYSCONFIG_H
16 #define LLVM_SYSTEM_SYSCONFIG_H
17
18 namespace llvm {
19 namespace sys {
20
21   /// This function makes the necessary calls to the operating system to prevent
22   /// core files or any other kind of large memory dumps that can occur when a
23   /// program fails.
24   /// @brief Prevent core file generation.
25   void PreventCoreFiles();
26
27 } // End sys namespace
28 } // End llvm namespace
29
30 #endif