mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
add an option to the internalize pass
llvm-svn: 23782
This commit is contained in:
parent
824a8efa08
commit
211f996c92
@ -111,10 +111,12 @@ ModulePass *createPruneEHPass();
|
|||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
/// createInternalizePass - This pass loops over all of the functions in the
|
/// createInternalizePass - This pass loops over all of the functions in the
|
||||||
/// input module, looking for a main function. If a main function is found, all
|
/// input module, looking for a main function. If a list of symbols is
|
||||||
/// other functions are marked as internal.
|
/// specified with the -internalize-public-api-* command line options, those
|
||||||
|
/// symbols are internalized. Otherwise if InternalizeEverything is set and
|
||||||
|
/// the main function is found, all other globals are marked as internal.
|
||||||
///
|
///
|
||||||
ModulePass *createInternalizePass();
|
ModulePass *createInternalizePass(bool InternalizeEverything);
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
/// createDeadArgEliminationPass - This pass removes arguments from functions
|
/// createDeadArgEliminationPass - This pass removes arguments from functions
|
||||||
|
Loading…
Reference in New Issue
Block a user