LLVM  8.0.1
Functions
ModuleDebugInfoPrinter.cpp File Reference
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/Pass.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for ModuleDebugInfoPrinter.cpp:

Go to the source code of this file.

Functions

 INITIALIZE_PASS (ModuleDebugInfoPrinter, "module-debuginfo", "Decodes module-level debug info", false, true) ModulePass *llvm
 
static void printFile (raw_ostream &O, StringRef Filename, StringRef Directory, unsigned Line=0)
 

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( ModuleDebugInfoPrinter  ,
"module-debuginfo"  ,
"Decodes module-level debug info ,
false  ,
true   
)

Definition at line 45 of file ModuleDebugInfoPrinter.cpp.

References llvm::DebugInfoFinder::processModule().

◆ printFile()

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