#include "llvm/BinaryFormat/Magic.h"
#include "llvm/Object/Binary.h"
#include "llvm/Object/WindowsMachineFlag.h"
#include "llvm/Object/WindowsResource.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Option/Option.h"
#include "llvm/Support/BinaryStreamError.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/InitLLVM.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/PrettyStackTrace.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Support/Signals.h"
#include "llvm/Support/raw_ostream.h"
#include <system_error>
usingnamespacellvm;
usingnamespaceobject;
namespace {
enum ID { … };
#define PREFIX …
#include "Opts.inc"
#undef PREFIX
usingnamespacellvm::opt;
static constexpr opt::OptTable::Info InfoTable[] = …;
class CvtResOptTable : public opt::GenericOptTable { … };
}
[[noreturn]] static void reportError(Twine Msg) { … }
static void reportError(StringRef Input, std::error_code EC) { … }
static void error(StringRef Input, Error EC) { … }
static void error(Error EC) { … }
static uint32_t getTime() { … }
template <typename T> T error(Expected<T> EC) { … }
template <typename T> T error(StringRef Input, Expected<T> EC) { … }
template <typename T> T error(StringRef Input, ErrorOr<T> &&EC) { … }
int main(int Argc, const char **Argv) { … }