Home | History | Annotate | Download | only in Script
      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 //===----------------------------------------------------------------------===//
     17 OutputArchCmd::OutputArchCmd(const std::string& pArch)
     18   : ScriptCommand(ScriptCommand::OUTPUT_ARCH),
     19     m_Arch(pArch)
     20 {
     21 }
     22 
     23 OutputArchCmd::~OutputArchCmd()
     24 {
     25 }
     26 
     27 void OutputArchCmd::dump() const
     28 {
     29   mcld::outs() << "OUTPUT_ARCH ( " << m_Arch << " )\n";
     30 }
     31 
     32 void OutputArchCmd::activate(Module& pModule)
     33 {
     34   // TODO
     35 }
     36 
     37