[PATCH] D42375: Add --print-icf flag
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 08:14:18 PST 2018
Owen Reynolds via Phabricator <reviews at reviews.llvm.org> writes:
> Index: ELF/Options.td
> ===================================================================
> --- ELF/Options.td
> +++ ELF/Options.td
> @@ -222,6 +222,9 @@
> def no_print_gc_sections: F<"no-print-gc-sections">,
> HelpText<"Do not list removed unused sections">;
>
> +def no_print_icf: F<"no-print-icf">,
> + HelpText<"Do not list identical folded sections">;
> +
> def no_rosegment: F<"no-rosegment">,
> HelpText<"Do not put read-only non-executable sections in their own segment">;
>
> @@ -251,6 +254,9 @@
> def print_gc_sections: F<"print-gc-sections">,
> HelpText<"List removed unused sections">;
>
> +def print_icf: F<"print-icf">,
> + HelpText<"List identical folded sections">;
> +
gold calls this option --print-icf-sections, why not use the same name?
Cheers,
Rafael
More information about the llvm-commits
mailing list