#include "lld/Common/Args.h"
#include "lld/Common/ErrorHandler.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/Path.h"
usingnamespacellvm;
usingnamespacelld;
int lld::args::getCGOptLevel(int optLevelLTO) { … }
static int64_t getInteger(opt::InputArgList &args, unsigned key,
int64_t Default, unsigned base) { … }
int64_t lld::args::getInteger(opt::InputArgList &args, unsigned key,
int64_t Default) { … }
int64_t lld::args::getHex(opt::InputArgList &args, unsigned key,
int64_t Default) { … }
SmallVector<StringRef, 0> lld::args::getStrings(opt::InputArgList &args,
int id) { … }
uint64_t lld::args::getZOptionValue(opt::InputArgList &args, int id,
StringRef key, uint64_t defaultValue) { … }
std::vector<StringRef> lld::args::getLines(MemoryBufferRef mb) { … }
StringRef lld::args::getFilenameWithoutExe(StringRef path) { … }