LLVM 20.0.0git
|
#include "llvm/CodeGen/JMCInstrumenter.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Type.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/DJB.h"
#include "llvm/Support/Path.h"
#include "llvm/Transforms/Utils/ModuleUtils.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "jmc-instrumenter" |
Functions | |
static bool | runImpl (Module &M) |
INITIALIZE_PASS (JMCInstrumenter, DEBUG_TYPE, "Instrument function entry with call to __CheckForDebuggerJustMyCode", false, false) ModulePass *llvm | |
#define DEBUG_TYPE "jmc-instrumenter" |
Definition at line 43 of file JMCInstrumenter.cpp.
INITIALIZE_PASS | ( | JMCInstrumenter | , |
DEBUG_TYPE | , | ||
"Instrument function entry with call to __CheckForDebuggerJustMyCode" | , | ||
false | , | ||
false | |||
) |
Definition at line 62 of file JMCInstrumenter.cpp.
Definition at line 153 of file JMCInstrumenter.cpp.
References llvm::Comdat::Any, llvm::appendToUsed(), assert(), llvm::CallingConv::C, llvm::CallInst::Create(), F, llvm::MDNode::get(), llvm::MDString::get(), llvm::Triple::getArch(), llvm::Type::getInt8Ty(), llvm::Value::getName(), llvm::GlobalValue::Global, llvm::GlobalValue::InternalLinkage, llvm::Triple::isKnownWindowsMSVCEnvironment(), llvm::Triple::isOSBinFormatELF(), N, llvm::GlobalObject::setAlignment(), llvm::GlobalObject::setComdat(), llvm::GlobalValue::setLinkage(), llvm::Value::setName(), llvm::GlobalObject::setSection(), llvm::GlobalValue::setUnnamedAddr(), llvm::StringRef::str(), llvm::GlobalValue::WeakAnyLinkage, llvm::Triple::x86, and llvm::CallingConv::X86_FastCall.