#ifndef LLD_ELF_DRIVER_H
#define LLD_ELF_DRIVER_H
#include "lld/Common/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Option/ArgList.h"
#include <optional>
namespace lld::elf {
struct Ctx;
class ELFOptTable : public llvm::opt::GenericOptTable { … };
enum { … };
void printHelp(Ctx &ctx);
std::string createResponseFile(const llvm::opt::InputArgList &args);
std::optional<std::string> findFromSearchPaths(Ctx &, StringRef path);
std::optional<std::string> searchScript(Ctx &, StringRef path);
std::optional<std::string> searchLibraryBaseName(Ctx &, StringRef path);
std::optional<std::string> searchLibrary(Ctx &, StringRef path);
}
#endif