mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
Also, have tools output -help-hidden rather than refer to --help-hidden, for consistency, and likewise adjust documentation. This doesn't change every mention of --help, only those which seemed clearly safe. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96578 91177308-0d34-0410-b5e6-96231b3b80d8
34 lines
1.0 KiB
C++
34 lines
1.0 KiB
C++
//===--- 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
|
|
// with the -help option.
|
|
//
|
|
// This file provides the default entry point for the driver executable.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_INCLUDE_COMPILER_DRIVER_MAIN_INC
|
|
#define LLVM_INCLUDE_COMPILER_DRIVER_MAIN_INC
|
|
|
|
#include "llvm/CompilerDriver/ForceLinkage.h"
|
|
|
|
namespace llvmc {
|
|
int Main(int argc, char** argv);
|
|
}
|
|
|
|
int main(int argc, char** argv) {
|
|
llvmc::ForceLinkage();
|
|
return llvmc::Main(argc, argv);
|
|
}
|
|
|
|
#endif // LLVM_INCLUDE_COMPILER_DRIVER_MAIN_INC
|