https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005
--- Comment #25 from rguenther at suse dot de <rguenther at suse dot de> --- On February 13, 2018 5:35:22 PM GMT+01:00, simon at pushface dot org <gcc-bugzi...@gcc.gnu.org> wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005 > >--- Comment #24 from simon at pushface dot org --- >(In reply to Richard Biener from comment #22) > >> These are already implemented >> by darwin in darwin_asm_lto_{start,end} where it could simply >temporarily >> adjust debug_info_level to DINFO_LEVEL_NONE. Like with the >following. > >I may be missing something, but that patch doesn’t actually adjust >debug_info_level? Whoops, sorry. Of course. Add debug_info_level = DINFO_LEVEL_NONE ; or how it is spelled.