Files
Alessandro Di Federico 9e9451247b Drop --import-debug-info command-line option
The --import-debug-info CLI flag and the ImporterOptions::
AdditionalDebugInfoPaths field it populated were a side-channel that
loaded extra DWARF files outside the normal ELF dependency-resolution
path. It bypassed the symbol-aware machinery and is no longer needed.
2026-06-03 13:59:53 +02:00

29 lines
550 B
C++

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