1 //===-- AVRTargetInfo.cpp - AVR Target Implementation ---------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "llvm/IR/Module.h"
11 #include "llvm/Support/TargetRegistry.h"
17 extern "C" void LLVMInitializeAVRTargetInfo() {
18 llvm::RegisterTarget<llvm::Triple::avr> X(
19 llvm::TheAVRTarget, "avr", "Atmel AVR Microcontroller");
22 // FIXME: Temporary stub - this function must be defined for linking
23 // to succeed. Remove once this function is properly implemented.
24 extern "C" void LLVMInitializeAVRTargetMC() {