llvm-project/llvm/lib/Target/Foot/TargetInfo/FootTargetInfo.cpp
2025-08-25 11:25:44 -04:00

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;
}