LLVM 20.0.0git
Functions
ModuleDebugInfoPrinter.cpp File Reference
#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

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)
 

Function Documentation

◆ printFile()

static void printFile ( raw_ostream O,
StringRef  Filename,
StringRef  Directory,
unsigned  Line = 0 
)
static

Definition at line 28 of file ModuleDebugInfoPrinter.cpp.

References llvm::StringRef::empty().

Referenced by printModuleDebugInfo().

◆ printModuleDebugInfo()

static void printModuleDebugInfo ( raw_ostream O,
const Module M,
const DebugInfoFinder Finder 
)
static