summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SymbolStripping.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SymbolStripping.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/SymbolStripping.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/SymbolStripping.cpp b/llvm/lib/Transforms/Scalar/SymbolStripping.cpp
index 6104b62e431..06cf025221d 100644
--- a/llvm/lib/Transforms/Scalar/SymbolStripping.cpp
+++ b/llvm/lib/Transforms/Scalar/SymbolStripping.cpp
@@ -44,16 +44,16 @@ static bool StripSymbolTable(SymbolTable *SymTab) {
// DoSymbolStripping - Remove all symbolic information from a method
//
-bool opt::DoSymbolStripping(Method *M) {
+bool opt::SymbolStripping::doSymbolStripping(Method *M) {
return StripSymbolTable(M->getSymbolTable());
}
-// DoFullSymbolStripping - Remove all symbolic information from all methods
+// doStripGlobalSymbols - Remove all symbolic information from all methods
// in a module, and all module level symbols. (method names, etc...)
//
-bool opt::DoFullSymbolStripping(Module *M) {
+bool opt::FullSymbolStripping::doStripGlobalSymbols(Module *M) {
// Remove all symbols from methods in this module... and then strip all of the
// symbols in this module...
//
- return DoSymbolStripping(M) | StripSymbolTable(M->getSymbolTable());
+ return StripSymbolTable(M->getSymbolTable());
}
OpenPOWER on IntegriCloud