LLVM 17.0.0git
|
#include "llvm/Analysis/ModuleDebugInfoPrinter.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/PassManager.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Functions | |
INITIALIZE_PASS (ModuleDebugInfoLegacyPrinter, "module-debuginfo", "Decodes module-level debug info", false, true) ModulePass *llvm | |
static void | printFile (raw_ostream &O, StringRef Filename, StringRef Directory, unsigned Line=0) |
static void | printModuleDebugInfo (raw_ostream &O, const Module *M, const DebugInfoFinder &Finder) |
INITIALIZE_PASS | ( | ModuleDebugInfoLegacyPrinter | , |
"module-debuginfo" | , | ||
"Decodes module-level debug info" | , | ||
false | , | ||
true | |||
) |
Definition at line 49 of file ModuleDebugInfoPrinter.cpp.
|
static |
Definition at line 61 of file ModuleDebugInfoPrinter.cpp.
References llvm::StringRef::empty().
Referenced by printModuleDebugInfo().
|
static |
Definition at line 74 of file ModuleDebugInfoPrinter.cpp.
References llvm::dwarf::AttributeEncodingString(), llvm::DebugInfoFinder::compile_units(), llvm::DebugInfoFinder::global_variables(), llvm::dwarf::LanguageString(), printFile(), llvm::DebugInfoFinder::subprograms(), llvm::dwarf::TagString(), and llvm::DebugInfoFinder::types().
Referenced by llvm::ModuleDebugInfoPrinterPass::run().