1 //===- llvm-tblgen.cpp ----------------------------------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 // 9 // This file contains the main function for LLVM's TableGen. 10 // 11 //===----------------------------------------------------------------------===// 12 13 #include "Basic/TableGen.h" 14 15 /// Command line parameters are shared between llvm-tblgen and llvm-min-tblgen. 16 /// The indirection to tblgen_main exists to ensure that the static variables 17 /// for the llvm::cl:: mechanism are linked into both executables. 18 int main(int argc, char **argv) { return tblgen_main(argc, argv); } 19