ClickHouse/dbms/programs/clang/Compiler-7.0.0bundled/lld.cpp
2018-11-16 15:22: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);
}