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