OutputArchCmd.cpp revision 37b74a387bb3993387029859c2d9d051c41c724e
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 12namespace mcld { 13 14//===----------------------------------------------------------------------===// 15// OutputArchCmd 16//===----------------------------------------------------------------------===// 17OutputArchCmd::OutputArchCmd(const std::string& pArch) 18 : ScriptCommand(ScriptCommand::OUTPUT_ARCH), m_Arch(pArch) { 19} 20 21OutputArchCmd::~OutputArchCmd() { 22} 23 24void OutputArchCmd::dump() const { 25 mcld::outs() << "OUTPUT_ARCH ( " << m_Arch << " )\n"; 26} 27 28void OutputArchCmd::activate(Module& pModule) { 29 // TODO 30} 31 32} // namespace mcld 33