[llvm-commits] CVS: llvm/include/llvm/System/SysConfig.h

Reid Spencer reid at x10sys.com
Tue Aug 31 11:14:02 PDT 2004



Changes in directory llvm/include/llvm/System:

SysConfig.h added (r1.1)
---
Log message:

Initial commit for platform independent system configuration support.


---
Diffs of the changes:  (+30 -0)

Index: llvm/include/llvm/System/SysConfig.h
diff -c /dev/null llvm/include/llvm/System/SysConfig.h:1.1
*** /dev/null	Tue Aug 31 13:14:02 2004
--- llvm/include/llvm/System/SysConfig.h	Tue Aug 31 13:13:52 2004
***************
*** 0 ****
--- 1,30 ----
+ //===- llvm/System/SysConfig.h - System Configuration  ----------*- C++ -*-===//
+ // 
+ //                     The LLVM Compiler Infrastructure
+ //
+ // This file was developed by Reid Spencer and is distributed under the 
+ // University of Illinois Open Source License. See LICENSE.TXT for details.
+ // 
+ //===----------------------------------------------------------------------===//
+ //
+ // This file declares the SysConfig utilities for platform independent system
+ // configuration (both globally and at the process level).
+ //
+ //===----------------------------------------------------------------------===//
+ 
+ #ifndef LLVM_SYSTEM_SYSCONFIG_H
+ #define LLVM_SYSTEM_SYSCONFIG_H
+ 
+ namespace llvm {
+ namespace sys {
+ 
+   /// This function makes the necessary calls to the operating system to prevent
+   /// core files or any other kind of large memory dumps that can occur when a
+   /// program fails.
+   /// @brief Prevent core file generation.
+   void PreventCoreFiles();
+ 
+ } // End sys namespace
+ } // End llvm namespace
+ 
+ #endif






More information about the llvm-commits mailing list