mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
![Dimitry Andric](/assets/img/avatar_default.png)
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project release/18.x llvmorg-18.1.0-rc2-0-gc6c86965d967. PR: 276104 MFC after: 1 month
19 lines
679 B
C++
19 lines
679 B
C++
//===-- driver-template.cpp -----------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/Support/LLVMDriver.h"
|
|
#include "llvm/ADT/ArrayRef.h"
|
|
#include "llvm/Support/InitLLVM.h"
|
|
|
|
int llvm_readobj_main(int argc, char **, const llvm::ToolContext &);
|
|
|
|
int main(int argc, char **argv) {
|
|
llvm::InitLLVM X(argc, argv);
|
|
return llvm_readobj_main(argc, argv, {argv[0], nullptr, false});
|
|
}
|