Path: blob/main/usr.bin/clang/llvm-ar/llvm-ar-driver.cpp
34858 views
//===-- driver-template.cpp -----------------------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#include "llvm/Support/LLVMDriver.h"9#include "llvm/ADT/ArrayRef.h"10#include "llvm/Support/InitLLVM.h"1112int llvm_ar_main(int argc, char **, const llvm::ToolContext &);1314int main(int argc, char **argv) {15llvm::InitLLVM X(argc, argv);16return llvm_ar_main(argc, argv, {argv[0], nullptr, false});17}181920