Revert "Reapply "LTO: add API to set strategy for -internalize""
[oota-llvm.git] / include / llvm / Transforms / IPO.h
index ae9d5c1d09b6962df2e987d3cd9fd4979a9ed3e1..334fb1cc4d3ad0f798473331747fac008304e68c 100644 (file)
@@ -112,19 +112,14 @@ Pass *createPruneEHPass();
 ////
 /// The symbols in \p ExportList are never internalized.
 ///
-/// When OnlyHidden=true, only symbols with hidden visibility are internalized.
-///
 /// The symbol in DSOList are internalized if it is safe to drop them from
 /// the symbol table.
 ///
 /// Note that commandline options that are used with the above function are not
 /// used now!
-ModulePass *createInternalizePass(ArrayRef<const char *> ExportList,
-                                  bool OnlyHidden = false);
+ModulePass *createInternalizePass(ArrayRef<const char *> ExportList);
 /// createInternalizePass - Same as above, but with an empty exportList.
-ModulePass *createInternalizePass(bool OnlyHidden = false);
-/// createInternalizePass - Resolve ambiguity when passed a const char *.
-ModulePass *createInternalizePass(const char *SingleExport);
+ModulePass *createInternalizePass();
 
 //===----------------------------------------------------------------------===//
 /// createDeadArgEliminationPass - This pass removes arguments from functions