1 //===--- Main.inc - The LLVM Compiler Driver --------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open
6 // Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This tool provides a single point of access to the LLVM
11 // compilation tools. It has many options. To discover the options
12 // supported please refer to the tools' manual page or run the tool
13 // with the --help option.
15 // This file provides the default entry point for the driver executable.
17 //===----------------------------------------------------------------------===//
19 #ifndef LLVM_INCLUDE_COMPILER_DRIVER_MAIN_INC
20 #define LLVM_INCLUDE_COMPILER_DRIVER_MAIN_INC
22 #include "llvm/CompilerDriver/ForceLinkage.h"
25 int Main(int argc, char** argv);
28 int main(int argc, char** argv) {
29 llvmc::ForceLinkage();
30 return llvmc::Main(argc, argv);
33 #endif // LLVM_INCLUDE_COMPILER_DRIVER_MAIN_INC