LLVM API Documentation
#include "llvm/Transforms/IPO.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/SymbolTable.h"
Include dependency graph for StripSymbols.cpp:
Go to the source code of this file.
Functions | |
ModulePass * | llvm::createStripSymbolsPass (bool OnlyDebugInfo) |
static void | RemoveDeadConstant (Constant *C) |
Variables | |
RegisterOpt< StripSymbols > | X ("strip","Strip all symbols from a module") |
static void RemoveDeadConstant | ( | Constant * | C | ) | [static] |
Definition at line 53 of file StripSymbols.cpp.
References C, llvm::GlobalValue::destroyConstant(), GV, and llvm::GlobalValue::hasInternalLinkage().
bool OnlyDebugInfo |
Definition at line 36 of file StripSymbols.cpp.
RegisterOpt<StripSymbols> X("strip","Strip all symbols from a module") [static] |