LLVM 20.0.0git
Macros | Functions | Variables
SymbolRewriter.cpp File Reference
#include "llvm/Transforms/Utils/SymbolRewriter.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/ilist.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/IR/Comdat.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalAlias.h"
#include "llvm/IR/GlobalObject.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Regex.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/YAMLParser.h"
#include <memory>
#include <string>
#include <vector>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "symbol-rewriter"
 

Functions

static void rewriteComdat (Module &M, GlobalObject *GO, const std::string &Source, const std::string &Target)
 

Variables

static cl::list< std::string > RewriteMapFiles ("rewrite-map-file", cl::desc("Symbol Rewrite Map"), cl::value_desc("filename"), cl::Hidden)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "symbol-rewriter"

Definition at line 86 of file SymbolRewriter.cpp.

Function Documentation

◆ rewriteComdat()

static void rewriteComdat ( Module M,
GlobalObject GO,
const std::string &  Source,
const std::string &  Target 
)
static

Variable Documentation

◆ RewriteMapFiles

cl::list< std::string > RewriteMapFiles("rewrite-map-file", cl::desc("Symbol Rewrite Map"), cl::value_desc("filename"), cl::Hidden) ( "rewrite-map-file"  ,
cl::desc("Symbol Rewrite Map")  ,
cl::value_desc("filename")  ,
cl::Hidden   
)
static