LLVM API Documentation

Defines | Functions | Variables
AddDiscriminators.cpp File Reference
#include "llvm/Transforms/Scalar.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for AddDiscriminators.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "add-discriminators"

Functions

 INITIALIZE_PASS_BEGIN (AddDiscriminators,"add-discriminators","Add DWARF path discriminators", false, false) INITIALIZE_PASS_END(AddDiscriminators
add Add DWARF path static
false cl::opt< bool
NoDiscriminators ("no-discriminators", cl::init(false), cl::desc("Disable generation of discriminator information."))
static bool hasDebugInfo (const Function &F)

Variables

add discriminators
add Add DWARF path false

Define Documentation

#define DEBUG_TYPE   "add-discriminators"

Definition at line 70 of file AddDiscriminators.cpp.


Function Documentation

static bool hasDebugInfo ( const Function F) [static]
INITIALIZE_PASS_BEGIN ( AddDiscriminators  ,
"add-discriminators ,
"Add DWARF path discriminators ,
false  ,
false   
)
add Add DWARF path static false cl::opt<bool> NoDiscriminators ( "no-discriminators ,
cl::  initfalse,
cl::  desc"Disable generation of discriminator information." 
) [static]

Variable Documentation

add Add DWARF path discriminators

Definition at line 86 of file AddDiscriminators.cpp.

add Add DWARF path false

Definition at line 86 of file AddDiscriminators.cpp.