1//===-- llc.cpp - LLVM Native Code Generator entry point -----------------===//
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#include "llvm/Support/InitLLVM.h"
10
11extern "C" int llcMain(int argc, char **argv);
12
13int main(int argc, char **argv) {
14 llvm::InitLLVM X(argc, argv);
15 return llcMain(argc, argv);
16}
17