1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Improve comments wrt createInternalize.

llvm-svn: 52779
This commit is contained in:
Matthijs Kooijman 2008-06-26 09:48:11 +00:00
parent 2d9397ea16
commit 151654f100

View File

@ -106,14 +106,19 @@ Pass *createPruneEHPass();
/// of the api. If a list of symbols is specified with the
/// -internalize-public-api-* command line options, those symbols are not
/// internalized and all others are. Otherwise if AllButMain is set and the
/// main function is found, all other globals are marked as internal.
/// main function is found, all other globals are marked as internal. If no api
/// is supplied and AllButMain is not set, or no main function is found, nothing
/// is internalized.
///
ModulePass *createInternalizePass(bool AllButMain);
/// createInternalizePass - This pass loops over all of the functions in the
/// input module, internalizing all globals (functions and variables) not in the
/// given exportList.
ModulePass *createInternalizePass(const std::vector<const char *> &exportList);
///
/// Note that commandline options that are used with the above function are not
/// used now! Also, when exportList is empty, nothing is internalized.
ModulePass *createInternalizePass(const std::vector<const char *> &exportList)
//===----------------------------------------------------------------------===//
/// createDeadArgEliminationPass - This pass removes arguments from functions