15f757f3fSDimitry Andric //===-- driver-template.cpp -----------------------------------------------===// 25f757f3fSDimitry Andric // 35f757f3fSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 45f757f3fSDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 55f757f3fSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 65f757f3fSDimitry Andric // 75f757f3fSDimitry Andric //===----------------------------------------------------------------------===// 85f757f3fSDimitry Andric 95f757f3fSDimitry Andric #include "llvm/Support/LLVMDriver.h" 105f757f3fSDimitry Andric #include "llvm/ADT/ArrayRef.h" 11*b3edf446SDimitry Andric #include "llvm/Support/InitLLVM.h" 125f757f3fSDimitry Andric 135f757f3fSDimitry Andric int llvm_symbolizer_main(int argc, char **, const llvm::ToolContext &); 145f757f3fSDimitry Andric 155f757f3fSDimitry Andric int main(int argc, char **argv) { 16*b3edf446SDimitry Andric llvm::InitLLVM X(argc, argv); 175f757f3fSDimitry Andric return llvm_symbolizer_main(argc, argv, {argv[0], nullptr, false}); 185f757f3fSDimitry Andric } 19