17 lines
410 B
C++
17 lines
410 B
C++
#include "FootTargetInfo.h"
|
|
#include "llvm/MC/TargetRegistry.h"
|
|
using namespace llvm;
|
|
|
|
extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeFootTargetInfo() {
|
|
RegisterTarget<Triple::foot, /*HasJIT=*/ false> X(
|
|
getTheFootTarget(), /*Name=*/"foot",
|
|
/*Desc=*/"Foot target",
|
|
/*BackendName=*/"Foot"
|
|
);
|
|
}
|
|
|
|
Target &llvm::getTheFootTarget() {
|
|
static Target TheFootTarget;
|
|
return TheFootTarget;
|
|
}
|