#ifndef LLD_ARGS_H
#define LLD_ARGS_H
#include "lld/Common/LLVM.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/MemoryBuffer.h"
#include <vector>
namespace llvm {
namespace opt {
class InputArgList;
}
}
namespace lld {
namespace args {
int getCGOptLevel(int optLevelLTO);
int64_t getInteger(llvm::opt::InputArgList &args, unsigned key,
int64_t Default);
int64_t getHex(llvm::opt::InputArgList &args, unsigned key, int64_t Default);
llvm::SmallVector<StringRef, 0> getStrings(llvm::opt::InputArgList &args,
int id);
uint64_t getZOptionValue(llvm::opt::InputArgList &args, int id, StringRef key,
uint64_t Default);
std::vector<StringRef> getLines(MemoryBufferRef mb);
StringRef getFilenameWithoutExe(StringRef path);
}
}
#endif