[llvm-commits] CVS: llvm/lib/System/AIX/SysConfig.cpp

Reid Spencer reid at x10sys.com
Tue Aug 31 10:43:40 PDT 2004



Changes in directory llvm/lib/System/AIX:

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

Add a new abstraction, SysConfig for platform independent system
configuration calls. Right now this just contains PreventCoreFiles so that
bugpoint can by platform independent.


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

Index: llvm/lib/System/AIX/SysConfig.cpp
diff -c /dev/null llvm/lib/System/AIX/SysConfig.cpp:1.1
*** /dev/null	Tue Aug 31 12:43:39 2004
--- llvm/lib/System/AIX/SysConfig.cpp	Tue Aug 31 12:43:29 2004
***************
*** 0 ****
--- 1,27 ----
+ //===- AIX/SysConfig.cpp - AIX SysConfig Implementation ---------*- 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 provides the AIX specific implementation of the SysConfig class.
+ //
+ //===----------------------------------------------------------------------===//
+ 
+ // Include the generic unix implementation
+ #include "../Unix/SysConfig.cpp"
+ 
+ namespace llvm {
+ using namespace sys;
+ 
+ //===----------------------------------------------------------------------===//
+ //=== WARNING: Implementation here must contain only AIX specific code 
+ //===          and must not be generic UNIX code (see ../Unix/SysConfig.cpp)
+ //===----------------------------------------------------------------------===//
+ 
+ }
+ 
+ // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab






More information about the llvm-commits mailing list