pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / lib / Target / Mips / TargetInfo / MipsTargetInfo.cpp
blobcc3d61e4e71d38acb3758b3d27c61940957ce431
1 //===-- MipsTargetInfo.cpp - Mips 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 //===----------------------------------------------------------------------===//
10 #include "Mips.h"
11 #include "llvm/Module.h"
12 #include "llvm/Target/TargetRegistry.h"
13 using namespace llvm;
15 Target llvm::TheMipsTarget, llvm::TheMipselTarget;
17 extern "C" void LLVMInitializeMipsTargetInfo() {
18 RegisterTarget<Triple::mips> X(TheMipsTarget, "mips", "Mips");
20 RegisterTarget<Triple::mipsel> Y(TheMipselTarget, "mipsel", "Mipsel");