1 //===- OutputArchCmd.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/Script/OutputArchCmd.h> 10 #include <mcld/Support/raw_ostream.h> 11 12 using namespace mcld; 13 14 //===----------------------------------------------------------------------===// 15 // OutputArchCmd 16 //===----------------------------------------------------------------------===// OutputArchCmd(const std::string & pArch)17OutputArchCmd::OutputArchCmd(const std::string& pArch) 18 : ScriptCommand(ScriptCommand::OUTPUT_ARCH), 19 m_Arch(pArch) 20 { 21 } 22 ~OutputArchCmd()23OutputArchCmd::~OutputArchCmd() 24 { 25 } 26 dump() const27void OutputArchCmd::dump() const 28 { 29 mcld::outs() << "OUTPUT_ARCH ( " << m_Arch << " )\n"; 30 } 31 activate(Module & pModule)32void OutputArchCmd::activate(Module& pModule) 33 { 34 // TODO 35 } 36 37