LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SysConfig.h

Go to the documentation of this file.
00001 //===- llvm/System/SysConfig.h - System Configuration  ----------*- C++ -*-===//
00002 // 
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file was developed by Reid Spencer and is distributed under the 
00006 // University of Illinois Open Source License. See LICENSE.TXT for details.
00007 // 
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file declares the SysConfig utilities for platform independent system
00011 // configuration (both globally and at the process level).
00012 //
00013 //===----------------------------------------------------------------------===//
00014 
00015 #ifndef LLVM_SYSTEM_SYSCONFIG_H
00016 #define LLVM_SYSTEM_SYSCONFIG_H
00017 
00018 namespace llvm {
00019 namespace sys {
00020 
00021   /// This function makes the necessary calls to the operating system to prevent
00022   /// core files or any other kind of large memory dumps that can occur when a
00023   /// program fails.
00024   /// @brief Prevent core file generation.
00025   void PreventCoreFiles();
00026 
00027 } // End sys namespace
00028 } // End llvm namespace
00029 
00030 #endif