2009-03-02 09:03:02 +00:00
|
|
|
//===--- Main.inc - The LLVM Compiler Driver --------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open
|
|
|
|
// Source License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This tool provides a single point of access to the LLVM
|
|
|
|
// compilation tools. It has many options. To discover the options
|
|
|
|
// supported please refer to the tools' manual page or run the tool
|
2010-02-18 14:08:13 +00:00
|
|
|
// with the -help option.
|
2009-03-02 09:03:02 +00:00
|
|
|
//
|
2009-06-30 00:15:24 +00:00
|
|
|
// This file provides the default entry point for the driver executable.
|
|
|
|
//
|
2009-03-02 09:03:02 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_INCLUDE_COMPILER_DRIVER_MAIN_INC
|
|
|
|
#define LLVM_INCLUDE_COMPILER_DRIVER_MAIN_INC
|
|
|
|
|
2009-06-23 20:46:48 +00:00
|
|
|
#include "llvm/CompilerDriver/ForceLinkage.h"
|
2009-03-02 09:03:02 +00:00
|
|
|
|
2009-06-30 00:15:24 +00:00
|
|
|
namespace llvmc {
|
|
|
|
int Main(int argc, char** argv);
|
2009-03-02 09:03:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int main(int argc, char** argv) {
|
2009-06-30 00:15:24 +00:00
|
|
|
llvmc::ForceLinkage();
|
|
|
|
return llvmc::Main(argc, argv);
|
2009-03-02 09:03:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // LLVM_INCLUDE_COMPILER_DRIVER_MAIN_INC
|