blob: 7b1095820329d0b74af5a7200c2fcb6baf1fadeb [file] [log] [blame]
//===- TripleOptions.h ----------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef MCLD_LDLITE_TRIPLE_OPTIONS_H
#define MCLD_LDLITE_TRIPLE_OPTIONS_H
#include <llvm/Support/CommandLine.h>
#include <string>
namespace mcld {
class LinkerConfig;
class TripleOptions {
public:
TripleOptions();
bool parse(int pArgc, char* pArgv[], LinkerConfig& pConfig);
private:
llvm::cl::opt<std::string>& m_TargetTriple;
llvm::cl::opt<std::string>& m_MArch;
llvm::cl::opt<std::string>& m_MCPU;
llvm::cl::opt<std::string>& m_Emulation;
};
} // namespace of mcld
#endif