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