LLVM  10.0.0svn
Macros | Functions | Variables
InstrOrderFile.cpp File Reference
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/PassRegistry.h"
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Instrumentation.h"
#include "llvm/Transforms/Instrumentation/InstrOrderFile.h"
#include <fstream>
#include <map>
#include <mutex>
#include <set>
#include <sstream>
Include dependency graph for InstrOrderFile.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "instrorderfile"
 

Functions

 INITIALIZE_PASS_BEGIN (InstrOrderFileLegacyPass, "instrorderfile", "Instrumentation for Order File", false, false) INITIALIZE_PASS_END(InstrOrderFileLegacyPass
 

Variables

static cl::opt< std::string > ClOrderFileWriteMapping ("orderfile-write-mapping", cl::init(""), cl::desc("Dump functions and their MD5 hash to deobfuscate profile data"), cl::Hidden)
 
 instrorderfile
 
Instrumentation for Order File
 
Instrumentation for Order false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "instrorderfile"

Definition at line 39 of file InstrOrderFile.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( InstrOrderFileLegacyPass  ,
"instrorderfile"  ,
"Instrumentation for Order File ,
false  ,
false   
)

Variable Documentation

◆ ClOrderFileWriteMapping

cl::opt<std::string> ClOrderFileWriteMapping("orderfile-write-mapping", cl::init(""), cl::desc( "Dump functions and their MD5 hash to deobfuscate profile data"), cl::Hidden)
static

◆ false

Instrumentation for Order false

Definition at line 205 of file InstrOrderFile.cpp.

◆ File

Instrumentation for Order File

Definition at line 205 of file InstrOrderFile.cpp.

Referenced by llvm::BTFDebug::BTFDebug(), llvm::DICompositeType::buildODRType(), llvm::CodeViewDebug::CodeViewDebug(), llvm::lto::InputFile::create(), llvm::pdb::NativeSession::createFromPdb(), createOnDiskBuffer(), llvm::yaml::MappingTraits< T >::NormalizedTBD::denormalize(), llvm::MachO::DiagHandler(), llvm::DiagnosticLocation::DiagnosticLocation(), llvm::DWARFDebugLine::Row::dump(), dumpAttribute(), llvm::CodeViewContext::emitFileChecksums(), llvm::cl::ExpandResponseFiles(), llvm::pdb::DIASession::findCompilandsForSourceFile(), llvm::pdb::DIASession::findLineNumbers(), llvm::MachO::TextAPIReader::get(), llvm::DiagnosticLocation::getAbsolutePath(), llvm::DIFile::getChecksumKind(), llvm::pdb::IPDBSession::getConcreteSymbolById(), llvm::DwarfCompileUnit::getCU(), llvm::DwarfUnit::getDIELoc(), llvm::sys::fs::UniqueID::getFile(), llvm::unittest::getInputFileDirectory(), llvm::DwarfUnit::getMD5AsBytes(), llvm::DiagnosticLocation::getRelativePath(), llvm::DIBasicType::getSignedness(), llvm::pdb::PDBSymbolCompiland::getSourceFileFullPath(), getTime(), llvm::DIExpression::isConstant(), isLocallyOpenedFile(), llvm::DiagnosticLocation::isValid(), layout(), LLVMDIBuilderCreateAutoVariable(), LLVMDIBuilderCreateBitFieldMemberType(), LLVMDIBuilderCreateClassType(), LLVMDIBuilderCreateCompileUnit(), LLVMDIBuilderCreateEnumerationType(), LLVMDIBuilderCreateFunction(), LLVMDIBuilderCreateGlobalVariableExpression(), LLVMDIBuilderCreateMemberType(), LLVMDIBuilderCreateObjCIVar(), LLVMDIBuilderCreateObjCProperty(), LLVMDIBuilderCreateParameterVariable(), LLVMDIBuilderCreateStaticMemberType(), LLVMDIBuilderCreateStructType(), LLVMDIBuilderCreateTempGlobalVariableFwdDecl(), LLVMDIBuilderCreateTypedef(), LLVMDIBuilderCreateUnionType(), LLVMDIFileGetDirectory(), LLVMDIFileGetFilename(), llvm::coverage::CoverageMapping::load(), llvm::yaml::MappingTraits< RemarkLocation >::mapping(), llvm::pruneCache(), llvm::GCOVBuffer::readGCDAFormat(), llvm::GCOVBuffer::readGCNOFormat(), llvm::DWARFDebugLine::Row::reset(), llvm::DOTGraphTraitsPrinter< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >::runOnFunction(), llvm::DOTGraphTraitsModulePrinter< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >::runOnModule(), llvm::ThinLTOCodeGenerator::setCodeGenOnly(), llvm::DISubprogram::splitFlags(), llvm::StripDebugInfo(), toRemarkLocation(), llvm::MCDwarfLineTableHeader::tryGetFile(), writeCFGToDotFile(), and llvm::yaml::yaml2minidump().

◆ instrorderfile

instrorderfile

Definition at line 205 of file InstrOrderFile.cpp.