mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 11:33:46 +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);
|
|
}
|