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 using namespace mcld; 16 17 /* ** */ Target()18mcld::Target::Target() 19 : TargetMachineCtorFn(0), 20 SectLinkerCtorFn(0), 21 TargetLDBackendCtorFn(0), 22 m_pT(0) 23 { 24 } 25 26