Reid Spencer | 52a7efa | 2004-08-29 19:20:41 +0000 | [diff] [blame] | 1 | //===-- Program.cpp - Implement OS Program Concept --------------*- 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 header file implements the operating system Program concept. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #include "llvm/System/Program.h" |
Reid Spencer | 424ac89 | 2004-12-27 06:16:25 +0000 | [diff] [blame] | 15 | #include "llvm/Config/config.h" |
Reid Spencer | 52a7efa | 2004-08-29 19:20:41 +0000 | [diff] [blame] | 16 | |
| 17 | namespace llvm { |
| 18 | using namespace sys; |
| 19 | |
| 20 | //===----------------------------------------------------------------------===// |
| 21 | //=== WARNING: Implementation here must contain only TRULY operating system |
| 22 | //=== independent code. |
| 23 | //===----------------------------------------------------------------------===// |
| 24 | |
| 25 | } |
| 26 | |
| 27 | // Include the platform-specific parts of this class. |
Reid Spencer | 424ac89 | 2004-12-27 06:16:25 +0000 | [diff] [blame] | 28 | #ifdef LLVM_ON_UNIX |
Reid Spencer | bccc8ab | 2005-01-09 23:29:00 +0000 | [diff] [blame] | 29 | #include "Unix/Program.inc" |
Reid Spencer | 424ac89 | 2004-12-27 06:16:25 +0000 | [diff] [blame] | 30 | #endif |
| 31 | #ifdef LLVM_ON_WIN32 |
Reid Spencer | bccc8ab | 2005-01-09 23:29:00 +0000 | [diff] [blame] | 32 | #include "Win32/Program.inc" |
Reid Spencer | 424ac89 | 2004-12-27 06:16:25 +0000 | [diff] [blame] | 33 | #endif |
Reid Spencer | 52a7efa | 2004-08-29 19:20:41 +0000 | [diff] [blame] | 34 | |
| 35 | // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab |