From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8563D3858D28; Mon, 30 Jan 2023 13:31:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8563D3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675085490; bh=eS8IaQk9A+AfZuMjMgCiLEgabvzfWfCKioFBIH5iEdo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=E2Ban0LbyvI4YpGTErfj7qPAFV2C6WcroZaw8H7lZxKVm5rfghYxQhyRWQ7zzy3fW yDnLFwkiB4uobw9ULboooUEi8oba5vrjG3tcD2kFVG/3yocmphAgk4YNABqKWDzLtr Cdh+iptRA9txTHZ0k+SmO2HY6I+ibirlWWvFZFEc= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/17265] Handle DW_LNS_set_prologue_end Date: Mon, 30 Jan 2023 13:31:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D17265 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vries at gcc dot gnu.org --- Comment #1 from Tom de Vries --- (In reply to dje from comment #0) > Both gcc and clang can emit DW_LNS_set_prologue_end now. >=20 About gcc: there two modes to generate line table info: - -gno-as-loc-support: emit .debug_lines section contribution - -gas-loc-support: emit .loc directives (the default) For the first one, gcc does known about DW_LNS_set_prologue_end, and is rea= dy to emit it, if generated. Likewise, for the second one, gas knows about the prologue_end option to the .loc directive, and is ready to handle it. But gcc doesn't seem to trigger either one of these paths. All we have is = the comment in dwarf2out_source_line: ... ... For Dwarf3, we ought to include the DW_LNS_set_prologue_end mark = in that second line number entry. */ ... I've filed a gcc PR about this: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108600 . --=20 You are receiving this mail because: You are on the CC list for the bug.=