mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Option -print-llvm-inline-tree for printing the inline-tree of the LLVM module.
This is useful to get information about what inlined functions contribute to the code size.
This commit is contained in:
@@ -1175,6 +1175,7 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
}
|
||||
|
||||
Opts.GenerateProfile |= Args.hasArg(OPT_profile_generate);
|
||||
Opts.PrintInlineTree |= Args.hasArg(OPT_print_llvm_inline_tree);
|
||||
|
||||
if (Args.hasArg(OPT_embed_bitcode))
|
||||
Opts.EmbedMode = IRGenEmbedMode::EmbedBitcode;
|
||||
|
||||
Reference in New Issue
Block a user