Merge branch 'master' into msp430
[llvm/msp430.git] / lib / System / Program.cpp
blobeb289d81b2e170189d4b4ef55dd503a36b207ef6
1 //===-- Program.cpp - Implement OS Program Concept --------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This header file implements the operating system Program concept.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/System/Program.h"
15 #include "llvm/Config/config.h"
17 namespace llvm {
18 using namespace sys;
20 //===----------------------------------------------------------------------===//
21 //=== WARNING: Implementation here must contain only TRULY operating system
22 //=== independent code.
23 //===----------------------------------------------------------------------===//
27 // Include the platform-specific parts of this class.
28 #ifdef LLVM_ON_UNIX
29 #include "Unix/Program.inc"
30 #endif
31 #ifdef LLVM_ON_WIN32
32 #include "Win32/Program.inc"
33 #endif