[deserialization] Deserialize transparent functions lazily iff they will be used in mandatory inlining.

Swift SVN r14490
This commit is contained in:
Michael Gottesman
2014-02-28 01:05:01 +00:00
parent a861f9c2c8
commit 29e1a53bbb
10 changed files with 182 additions and 54 deletions

View File

@@ -128,6 +128,10 @@ def sil_print_all : Flag<["-"], "sil-print-all">,
def sil_time_transforms : Flag<["-"], "sil-time-transforms">,
HelpText<"Time each SIL transform invocation">;
def sil_debug_serialization : Flag<["-"], "sil-debug-serialization">,
HelpText<"Only run mandatory inlining and do not allow inlining to eliminate "
"dead functions. (for debugging only)">;
def use_malloc : Flag<["-"], "use-malloc">,
HelpText<"Allocate internal data structures using malloc "
"(for memory debugging)">;