pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / lib / Target / ARM / TargetInfo / ARMTargetInfo.cpp
blob163a0a987584995e5f0b6c46860e2e463fbdf0ae
1 //===-- ARMTargetInfo.cpp - ARM 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 "ARM.h"
11 #include "llvm/Module.h"
12 #include "llvm/Target/TargetRegistry.h"
13 using namespace llvm;
15 Target llvm::TheARMTarget, llvm::TheThumbTarget;
17 extern "C" void LLVMInitializeARMTargetInfo() {
18 RegisterTarget<Triple::arm, /*HasJIT=*/true>
19 X(TheARMTarget, "arm", "ARM");
21 RegisterTarget<Triple::thumb, /*HasJIT=*/true>
22 Y(TheThumbTarget, "thumb", "Thumb");