projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Reapply "LTO: add API to set strategy for -internalize""
[oota-llvm.git]
/
include
/
llvm
/
Transforms
/
IPO.h
diff --git
a/include/llvm/Transforms/IPO.h
b/include/llvm/Transforms/IPO.h
index ae9d5c1d09b6962df2e987d3cd9fd4979a9ed3e1..334fb1cc4d3ad0f798473331747fac008304e68c 100644
(file)
--- a/
include/llvm/Transforms/IPO.h
+++ b/
include/llvm/Transforms/IPO.h
@@
-112,19
+112,14
@@
Pass *createPruneEHPass();
////
/// The symbols in \p ExportList are never internalized.
///
////
/// 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!
/// 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.
/// 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
//===----------------------------------------------------------------------===//
/// createDeadArgEliminationPass - This pass removes arguments from functions