#pragma once // // This file is distributed under the MIT License. See LICENSE.md for details. // #include #include #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/CommandLine.h" enum class DebugInfoLevel { No, Yes, IgnoreLibraries }; struct ImporterOptions { const std::uint64_t BaseAddress; const DebugInfoLevel DebugInfo; const bool EnableRemoteDebugInfo; const llvm::ArrayRef AdditionalDebugInfoPaths; }; [[nodiscard]] const ImporterOptions importerOptions(); extern llvm::cl::opt BaseAddress; extern llvm::cl::list ImportDebugInfo; extern llvm::cl::opt DebugInfo; extern llvm::cl::opt EnableRemoteDebugInfo;