Files
2023-03-15 10:19:03 +01:00

31 lines
750 B
C++

#pragma once
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include <cstdint>
#include <string>
#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<std::string> AdditionalDebugInfoPaths;
};
[[nodiscard]] const ImporterOptions importerOptions();
extern llvm::cl::opt<std::uint64_t> BaseAddress;
extern llvm::cl::list<std::string> ImportDebugInfo;
extern llvm::cl::opt<DebugInfoLevel> DebugInfo;
extern llvm::cl::opt<bool> EnableRemoteDebugInfo;