2019-01-17 Richard Biener <rguenther@suse.de>
PR lto/86736
* dwarf2out.c (want_pubnames): Never generate pubnames sections
and friends for the LTO part of debug info.
From-SVN: r268010
+2019-01-17 Richard Biener <rguenther@suse.de>
+
+ PR lto/86736
+ * dwarf2out.c (want_pubnames): Never generate pubnames sections
+ and friends for the LTO part of debug info.
+
2019-01-17 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/86214
static inline bool
want_pubnames (void)
{
- if (debug_info_level <= DINFO_LEVEL_TERSE)
+ if (debug_info_level <= DINFO_LEVEL_TERSE
+ /* Names and types go to the early debug part only. */
+ || in_lto_p)
return false;
if (debug_generate_pub_sections != -1)
return debug_generate_pub_sections;