LLVM API Documentation
#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"
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 DEBUG_TYPE "add-discriminators" |
Definition at line 70 of file AddDiscriminators.cpp.
static bool hasDebugInfo | ( | const Function & | F | ) | [static] |
Definition at line 100 of file AddDiscriminators.cpp.
References llvm::Module::getNamedMetadata(), and llvm::GlobalValue::getParent().
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] |
add Add DWARF path discriminators |
Definition at line 86 of file AddDiscriminators.cpp.
Definition at line 86 of file AddDiscriminators.cpp.