mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
add an option to the internalize pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
40c62d5069
commit
f9c6105a78
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user