LLVM 20.0.0git
|
#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) |
#define DEBUG_TYPE "symbol-rewriter" |
Definition at line 86 of file SymbolRewriter.cpp.
|
static |
Definition at line 93 of file SymbolRewriter.cpp.
References llvm::CallingConv::C, llvm::GlobalObject::getComdat(), and llvm::GlobalObject::setComdat().
|
static |