|
LLVM
4.0.0
|
#include "llvm/Transforms/Utils/SymbolRewriter.h"#include "llvm/Pass.h"#include "llvm/ADT/SmallString.h"#include "llvm/IR/LegacyPassManager.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/Regex.h"#include "llvm/Support/SourceMgr.h"#include "llvm/Support/YAMLParser.h"#include "llvm/Support/raw_ostream.h"Go to the source code of this file.
Namespaces | |
| llvm | |
| Compute iterated dominance frontiers using a linear time algorithm. | |
Macros | |
| #define | DEBUG_TYPE "symbol-rewriter" |
Functions | |
| static void | rewriteComdat (Module &M, GlobalObject *GO, const std::string &Source, const std::string &Target) |
| INITIALIZE_PASS (RewriteSymbolsLegacyPass,"rewrite-symbols","Rewrite Symbols", false, false) ModulePass *llvm | |
Variables | |
| static cl::list< std::string > | RewriteMapFiles ("rewrite-map-file", cl::desc("Symbol Rewrite Map"), cl::value_desc("filename")) |
| #define DEBUG_TYPE "symbol-rewriter" |
Definition at line 60 of file SymbolRewriter.cpp.
| INITIALIZE_PASS | ( | RewriteSymbolsLegacyPass | , |
| "rewrite-symbols" | , | ||
| "Rewrite Symbols" | , | ||
| false | , | ||
| false | |||
| ) |
Definition at line 555 of file SymbolRewriter.cpp.
|
static |
Definition at line 80 of file SymbolRewriter.cpp.
References C, llvm::GlobalObject::getComdat(), llvm::Module::getComdatSymbolTable(), llvm::Module::getOrInsertComdat(), llvm::GlobalObject::setComdat(), and llvm::Comdat::setSelectionKind().
1.8.6