xref: /freebsd/usr.bin/clang/llvm-size/llvm-size-driver.cpp (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1*06c3fb27SDimitry Andric //===-- driver-template.cpp -----------------------------------------------===//
2*06c3fb27SDimitry Andric //
3*06c3fb27SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*06c3fb27SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5*06c3fb27SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*06c3fb27SDimitry Andric //
7*06c3fb27SDimitry Andric //===----------------------------------------------------------------------===//
8*06c3fb27SDimitry Andric 
9*06c3fb27SDimitry Andric #include "llvm/Support/LLVMDriver.h"
10*06c3fb27SDimitry Andric #include "llvm/ADT/ArrayRef.h"
11*06c3fb27SDimitry Andric 
12*06c3fb27SDimitry Andric int llvm_size_main(int argc, char **, const llvm::ToolContext &);
13*06c3fb27SDimitry Andric 
14*06c3fb27SDimitry Andric int main(int argc, char **argv) {
15*06c3fb27SDimitry Andric   return llvm_size_main(argc, argv, {argv[0], nullptr, false});
16*06c3fb27SDimitry Andric }
17