blob: fb00dc958fb9390d3b8bde73e417b80ebeaed66b [file] [log] [blame]
Reid Spencer52a7efa2004-08-29 19:20:41 +00001//===-- Program.cpp - Implement OS Program Concept --------------*- C++ -*-===//
Misha Brukmanf976c852005-04-21 22:55:34 +00002//
Reid Spencer52a7efa2004-08-29 19:20:41 +00003// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Misha Brukmanf976c852005-04-21 22:55:34 +00007//
Reid Spencer52a7efa2004-08-29 19:20:41 +00008//===----------------------------------------------------------------------===//
9//
10// This header file implements the operating system Program concept.
11//
12//===----------------------------------------------------------------------===//
13
14#include "llvm/System/Program.h"
Reid Spencer424ac892004-12-27 06:16:25 +000015#include "llvm/Config/config.h"
Reid Spencer52a7efa2004-08-29 19:20:41 +000016
17namespace llvm {
18using namespace sys;
19
20//===----------------------------------------------------------------------===//
21//=== WARNING: Implementation here must contain only TRULY operating system
Misha Brukmanf976c852005-04-21 22:55:34 +000022//=== independent code.
Reid Spencer52a7efa2004-08-29 19:20:41 +000023//===----------------------------------------------------------------------===//
24
25}
26
27// Include the platform-specific parts of this class.
Reid Spencer424ac892004-12-27 06:16:25 +000028#ifdef LLVM_ON_UNIX
Reid Spencerbccc8ab2005-01-09 23:29:00 +000029#include "Unix/Program.inc"
Reid Spencer424ac892004-12-27 06:16:25 +000030#endif
31#ifdef LLVM_ON_WIN32
Reid Spencerbccc8ab2005-01-09 23:29:00 +000032#include "Win32/Program.inc"
Reid Spencer424ac892004-12-27 06:16:25 +000033#endif
Reid Spencer52a7efa2004-08-29 19:20:41 +000034
Reid Spencer23dd3322006-07-26 16:55:39 +000035DEFINING_FILE_FOR(SystemProgram)