mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
11 lines
270 B
C++
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);
|
|
}
|