ClickHouse/dbms/programs/clang/Compiler-7.0.0bundled/lld.cpp

11 lines
270 B
C++
Raw Normal View History

2018-11-16 12:22:51 +00:00
#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);
}