+2018-06-25 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto-section-out.c (lto_begin_section): Do not print section
+ name for noaddr and unnumbered dumps.
+
2018-06-25 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (struct vec_info_shared): New structure
lang_hooks.lto.begin_section (name);
if (streamer_dump_file)
- fprintf (streamer_dump_file, "Creating %ssection %s\n",
- compress ? "compressed " : "", name);
+ {
+ if (flag_dump_unnumbered || flag_dump_noaddr)
+ fprintf (streamer_dump_file, "Creating %ssection\n",
+ compress ? "compressed " : "");
+ else
+ fprintf (streamer_dump_file, "Creating %ssection %s\n",
+ compress ? "compressed " : "", name);
+ }
gcc_assert (compression_stream == NULL);
if (compress)
compression_stream = lto_start_compression (lto_append_data, NULL);