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

11 lines
270 B
C++
Raw Normal View History

#include "lld/Common/Driver.h"
#include "llvm/Support/InitLLVM.h"
2018-05-06 06:52:23 +00:00
#include <vector>
2018-05-06 06:52:23 +00:00
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);
}