Revert r199191, "LTO: add API to set strategy for -internalize"

Please update also Other/link-opts.ll, in next time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi
2014-01-14 09:40:18 +00:00
parent 8e31bc35ec
commit d13b9da1b6
6 changed files with 22 additions and 74 deletions

View File

@ -108,17 +108,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);
ModulePass *createInternalizePass();
//===----------------------------------------------------------------------===//
/// createDeadArgEliminationPass - This pass removes arguments from functions