1 //===-- SymbolStripping.h - Functions that Strip Symbol Tables ---*- C++ -*--=//
3 // This family of functions removes symbols from the symbol tables of methods
6 //===----------------------------------------------------------------------===//
8 #ifndef LLVM_OPT_SYMBOL_STRIPPING_H
9 #define LLVM_OPT_SYMBOL_STRIPPING_H
16 // DoSymbolStripping - Remove all symbolic information from a method
18 bool DoSymbolStripping(Method *M);
20 // DoSymbolStripping - Remove all symbolic information from all methods in a
23 static inline bool DoSymbolStripping(Module *M) {
24 return M->reduceApply(DoSymbolStripping);
27 // DoFullSymbolStripping - Remove all symbolic information from all methods
28 // in a module, and all module level symbols. (method names, etc...)
30 bool DoFullSymbolStripping(Module *M);
32 } // End namespace opt