Move TargetRegistry and TargetSelect from Target to Support where they belong.
[oota-llvm.git] / lib / Target / CBackend / TargetInfo / CBackendTargetInfo.cpp
1 //===-- CBackendTargetInfo.cpp - CBackend 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 "CTargetMachine.h"
11 #include "llvm/Module.h"
12 #include "llvm/Support/TargetRegistry.h"
13 using namespace llvm;
14
15 Target llvm::TheCBackendTarget;
16
17 extern "C" void LLVMInitializeCBackendTargetInfo() { 
18   RegisterTarget<> X(TheCBackendTarget, "c", "C backend");
19 }
20
21 extern "C" void LLVMInitializeCBackendTargetMC() {}