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