diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-10-18 06:28:16 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-10-18 06:28:16 +0000 | 
| commit | f09e38ccac433e61abb0b77fa4231f37620ea35a (patch) | |
| tree | 6d687f6246660601b91853d1298f7d21844a009e /llvm | |
| parent | 6c14c35bd7287413a4361168d19be2b9da3a1e61 (diff) | |
| download | bcm5719-llvm-f09e38ccac433e61abb0b77fa4231f37620ea35a.tar.gz bcm5719-llvm-f09e38ccac433e61abb0b77fa4231f37620ea35a.zip  | |
add an option to the internalize pass
llvm-svn: 23782
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Transforms/IPO.h | 8 | 
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/include/llvm/Transforms/IPO.h b/llvm/include/llvm/Transforms/IPO.h index 62cdf3ec436..ca5959ce4be 100644 --- a/llvm/include/llvm/Transforms/IPO.h +++ b/llvm/include/llvm/Transforms/IPO.h @@ -111,10 +111,12 @@ ModulePass *createPruneEHPass();  //===----------------------------------------------------------------------===//  /// 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 -/// other functions are marked as internal. +/// input module, looking for a main function.  If a list of symbols is +/// 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  | 

