From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 64B003844035; Thu, 30 Jul 2020 12:34:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 64B003844035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596112479; bh=byk0SuXAeILlyKGrERr38XxmdLVFHl0vesmnhGNXre8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dz1Vg1yEP8p78F5ErYTS2s/sx+GdRcBXEgGUEVB57ro84B6M9IEfcJaevTwtrVwTx hBK8s9C0+EW8oIN6LarjzTLpXQfPNn73RIz4fYB+eNZlWoMYSGZGfJcKHV+bbGWoEc iD/9pBckB1p3Cy1ldN+mou38/S8nKCKPL6CI0AgA= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/96383] [8/9/10/11 Regression] Full ABI information missing from GCC compiled C Date: Thu, 30 Jul 2020 12:34:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 10.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2020 12:34:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96383 --- Comment #10 from Richard Biener --- Created attachment 48960 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48960&action=3Dedit updated patch Avoid aliases and thunks, avoid not declared builtins w/o body. Updates stats for cc1 to FILE SIZE VM SIZE=20=20=20=20 -------------- --------------=20 +1.0% +1.21Mi [ =3D ] 0 .debug_info +4.4% +92.0Ki [ =3D ] 0 .debug_abbrev +0.1% +6.76Ki [ =3D ] 0 .debug_str +0.0% +5.80Ki [ =3D ] 0 .debug_line +0.0% +426 [ =3D ] 0 .debug_loc +0.0% +144 [ =3D ] 0 .debug_ranges +0.0% +80 +0.0% +80 .text +0.0% +52 [ =3D ] 0 .strtab +0.0% +32 +0.0% +32 .rodata +0.0% +24 [ =3D ] 0 .symtab +0.0% +16 +0.0% +16 .eh_frame +0.0% +8 +0.0% +8 .eh_frame_hdr -1.9% -138 [ =3D ] 0 [Unmapped] +0.4% +1.31Mi +0.0% +136 TOTAL and after applying DWZ to both: FILE SIZE VM SIZE=20=20=20=20 -------------- --------------=20 +1.0% +751Ki [ =3D ] 0 .debug_info +4.8% +87.8Ki [ =3D ] 0 .debug_abbrev +0.1% +6.76Ki [ =3D ] 0 .debug_str +0.0% +5.80Ki [ =3D ] 0 .debug_line +0.0% +426 [ =3D ] 0 .debug_loc +0.0% +144 [ =3D ] 0 .debug_ranges +0.0% +80 +0.0% +80 .text +0.0% +52 [ =3D ] 0 .strtab +0.0% +32 +0.0% +32 .rodata +0.0% +24 [ =3D ] 0 .symtab +0.0% +16 +0.0% +16 .eh_frame +0.0% +8 +0.0% +8 .eh_frame_hdr -1.9% -137 [ =3D ] 0 [Unmapped] +0.3% +852Ki +0.0% +136 TOTAL=