pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / lib / Target / X86 / TargetInfo / X86TargetInfo.cpp
blob08d4d84f8a8adbd3c6dcbc22f0f727bff60adab7
1 //===-- X86TargetInfo.cpp - X86 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 "X86.h"
11 #include "llvm/Module.h"
12 #include "llvm/Target/TargetRegistry.h"
13 using namespace llvm;
15 Target llvm::TheX86_32Target, llvm::TheX86_64Target;
17 extern "C" void LLVMInitializeX86TargetInfo() {
18 RegisterTarget<Triple::x86, /*HasJIT=*/true>
19 X(TheX86_32Target, "x86", "32-bit X86: Pentium-Pro and above");
21 RegisterTarget<Triple::x86_64, /*HasJIT=*/true>
22 Y(TheX86_64Target, "x86-64", "64-bit X86: EM64T and AMD64");