From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 877B3385AC36; Thu, 18 Nov 2021 16:00:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 877B3385AC36 From: "wcohen at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/103241] Odd 0 length entries in location lists Date: Thu, 18 Nov 2021 16:00:55 +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: 11.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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, 18 Nov 2021 16:00:55 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103241 --- Comment #12 from Will Cohen --- What is the "-dA" option? What are the .LVUS* labels referencing in the generated set_memory.s referr= ing to? They are paired up with the .LLST* labels. From the earlier set_memor= y.s that appears to be associated with prot parameter: .LVUS627: .uleb128 0 .uleb128 .LVU2887 .uleb128 .LVU2887 .uleb128 .LVU2895 .uleb128 .LVU2910 .uleb128 .LVU2939 .uleb128 .LVU2946 .uleb128 .LVU2974 .uleb128 .LVU2983 .uleb128 .LVU2987 .uleb128 .LVU2987 .uleb128 .LVU3000 .uleb128 .LVU3000 .uleb128 .LVU3004 .uleb128 .LVU3004 .uleb128 .LVU3016 .uleb128 .LVU3016 .uleb128 0 .uleb128 0 .uleb128 .LVU3027 .uleb128 .LVU3029 .uleb128 .LVU3036 .uleb128 .LVU3036 .uleb128 0 This looks to be the location list for prot variable from set_memory.s earl= ier attached to this bug: .LLST627: .byte 0x6 .quad .LVL615 .byte 0x4 .uleb128 .LVL615-.LVL615 .uleb128 .LVL615-.LVL615 .uleb128 0x1 .byte 0x55 .byte 0x4 .uleb128 .LVL615-.LVL615 .uleb128 .LVL616-.LVL615 .uleb128 0x3 .byte 0x55 .byte 0x93 .uleb128 0x8 .byte 0x4 .uleb128 .LVL619-.LVL615 .uleb128 .LVL623-.LVL615 .uleb128 0x1 .byte 0x55 .byte 0x4 .uleb128 .LVL625-.LVL615 .uleb128 .LVL628-.LVL615 .uleb128 0x1 .byte 0x53 .byte 0x4 .uleb128 .LVL630-.LVL615 .uleb128 .LVL631-.LVL615 .uleb128 0x1 .byte 0x55 .byte 0x4 .uleb128 .LVL631-.LVL615 .uleb128 .LVL634-.LVL615 .uleb128 0x3 .byte 0x53 .byte 0x93 .uleb128 0x8 .byte 0x4 .uleb128 .LVL634-.LVL615 .uleb128 .LVL634-.LVL615 .uleb128 0x3 .byte 0x53 .byte 0x93 .uleb128 0x8 .byte 0x4 .uleb128 .LVL634-.LVL615 .uleb128 .LVL637-.LVL615 .uleb128 0x1 .byte 0x53 .byte 0x4 .uleb128 .LVL637-.LVL615 .uleb128 .LHOTE19-.LVL615 .uleb128 0x3 .byte 0x53 .byte 0x93 .uleb128 0x8 .byte 0x6 .quad .LFSB4151 .byte 0x4 .uleb128 .LFSB4151-.LFSB4151 .uleb128 .LVL642-.LFSB4151 .uleb128 0x3 .byte 0x53 .byte 0x93 .uleb128 0x8 .byte 0x4 .uleb128 .LVL644-.LFSB4151 .uleb128 .LVL646-.LFSB4151 .uleb128 0x1 .byte 0x53 .byte 0x4 .uleb128 .LVL646-.LFSB4151 .uleb128 .LFE4151-.LFSB4151 .uleb128 0x3 .byte 0x53 .byte 0x93 .uleb128 0x8 .byte 0=