public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
From: "mark at klomp dot org" <sourceware-bugzilla@sourceware.org>
To: dwz@sourceware.org
Subject: [Bug default/27449] dwz: 1: Unknown DWARF DW_OP_0
Date: Thu, 04 Mar 2021 14:43:44 +0000	[thread overview]
Message-ID: <bug-27449-11298-Tfu90X0cEm@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-27449-11298@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=27449

--- Comment #11 from Mark Wielaard <mark at klomp dot org> ---
With gcc (GCC) 11.0.0 20210225 on arm64 (which defaults to DWARF5) this
produces:

 [   179]              variable             abbrev: 23
                       abstract_origin      (ref4) [   1ec]
                       location             (sec_offset) location list [    30]
                       GNU_locviews         (sec_offset) location list [    2e]

 [   1ec]        variable             abbrev: 7
                 name                 (string) "f16"
                 decl_file            (implicit_const) audiovisualwaveform.ii
(1)
                 decl_line            (data1) 8
                 decl_column          (data1) 10
                 type                 (ref4) [   1f9]

 [   1f9]    base_type            abbrev: 2
             byte_size            (data1) 2
             encoding             (data1) float (4)
             name                 (strp) "__fp16"

DWARF section [ 8] '.debug_loclists' at offset 0x4d9:
Table at Offset 0x0:

 Length:               64
 DWARF version:         5
 Address size:          8
 Segment size:          0
 Offset entries:        0
 CU [     c] base: .text+000000000000000000 <_Z6memcpyPv>

  Offset: c, Index: 0
    view pair 0, 0

  Offset: e, Index: 2
    offset_pair 28, 40
      .text+0x0000000000000028 <_Z29AudioVisualWaveformDrawSamplev+0x18>..
      .text+0x000000000000003f <_Z29AudioVisualWaveformDrawSamplev+0x2f>
        [ 0] reg19
    end_of_list

  Offset: 14, Index: 8
    view pair 1, 6

  Offset: 16, Index: a
    offset_pair 34, 34
      .text+0x0000000000000034 <_Z29AudioVisualWaveformDrawSamplev+0x24>..
      .text+0x0000000000000033 <_Z29AudioVisualWaveformDrawSamplev+0x23>
        [ 0] implicit_value: 4 byte block: 00 00 00 00
    end_of_list

  Offset: 21, Index: 15
    view pair 1, 6

  Offset: 23, Index: 17
    offset_pair 34, 34
      .text+0x0000000000000034 <_Z29AudioVisualWaveformDrawSamplev+0x24>..
      .text+0x0000000000000033 <_Z29AudioVisualWaveformDrawSamplev+0x23>
        [ 0] implicit_pointer [   11f] +0
    end_of_list

  Offset: 2e, Index: 22
    view pair 3, 6

  Offset: 30, Index: 24
    offset_pair 34, 34
      .text+0x0000000000000034 <_Z29AudioVisualWaveformDrawSamplev+0x24>..
      .text+0x0000000000000033 <_Z29AudioVisualWaveformDrawSamplev+0x23>
        [ 0] implicit_value: 2 byte block: 00 04
    base_address 0x179a006343404
      0x000179a006343404
    end_of_list

Note that it isn't technically invalid DWARF, but the base_address is highly
unlikely to be correct.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2021-03-04 14:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-21 11:43 [Bug default/27449] New: " doko at debian dot org
2021-02-21 11:43 ` [Bug default/27449] " doko at debian dot org
2021-02-21 11:44 ` doko at debian dot org
2021-02-21 17:14 ` mark at klomp dot org
2021-02-26 20:12 ` mark at klomp dot org
2021-03-02 15:45 ` vries at gcc dot gnu.org
2021-03-02 15:46 ` vries at gcc dot gnu.org
2021-03-03 15:22 ` mark at klomp dot org
2021-03-04  8:12 ` doko at debian dot org
2021-03-04  9:36 ` mliska at suse dot cz
2021-03-04 10:05 ` mliska at suse dot cz
2021-03-04 10:11 ` mliska at suse dot cz
2021-03-04 14:43 ` mark at klomp dot org [this message]
2021-03-04 15:05 ` mark at klomp dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-27449-11298-Tfu90X0cEm@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=dwz@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).