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