1 //===- Target.cpp ---------------------------------------------------------===// 2 // 3 // The MCLinker Project 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 #include <mcld/Support/TargetRegistry.h> 10 #include <mcld/Target/TargetMachine.h> 11 #include <llvm/Support/TargetRegistry.h> 12 #include <llvm/Target/TargetMachine.h> 13 14 using namespace llvm; 15 16 mcld::Target::Target() 17 : TargetMachineCtorFn(NULL), 18 MCLinkerCtorFn(NULL), 19 TargetLDBackendCtorFn(NULL), 20 DiagnosticLineInfoCtorFn(NULL), 21 m_pT(NULL) 22 { 23 } 24 25