ClickHouse/dbms/programs/clang/Compiler-7.0.0/lld.cpp
Alexey Milovidov 51044279e5 Squashed #2471
2018-06-05 23:09:51 +03:00

11 lines
270 B
C++

#include "lld/Common/Driver.h"
#include "llvm/Support/InitLLVM.h"
#include <vector>
int mainEntryClickHouseLLD(int argc, char ** argv)
{
llvm::InitLLVM X(argc, argv);
std::vector<const char *> args(argv, argv + argc);
return !lld::elf::link(args, false);
}