[Issue 4863] DWARF debug symbols treat arrays as unsigned long long

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 14 11:07:02 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4863



--- Comment #3 from Juergen Lock <bugs-puremagic at jelal.kn-bremen.de> 2010-09-14 11:06:33 PDT ---
And btw I can confirm Linux is affected too:

% readelf -w linux/xzj
..
 <1><6bb>: Abbrev Number: 3 (DW_TAG_base_type)
     DW_AT_name        : unsigned long long     
     DW_AT_byte_size   : 8      
     DW_AT_encoding    : 7      (unsigned)
..
 <2><11c1>: Abbrev Number: 6 (DW_TAG_formal_parameter)
     DW_AT_name        : args   
     DW_AT_type        : <6bb>  
     DW_AT_location    : 2 byte block: 91 8     (DW_OP_fbreg: 8)

 vs.

% readelf -w linux/args
 <1><62>: Abbrev Number: 3 (DW_TAG_base_type)
     DW_AT_name        : char   
     DW_AT_byte_size   : 1      
     DW_AT_encoding    : 8      (unsigned char)
 <1><6a>: Abbrev Number: 4 (Unknown TAG value: 41)
     DW_AT_byte_size   : 8      
     DW_AT_type        : <62>
 <1><70>: Abbrev Number: 4 (Unknown TAG value: 41)
     DW_AT_byte_size   : 8      
     DW_AT_type        : <6a>
..
 <2><a5>: Abbrev Number: 5 (DW_TAG_formal_parameter)
     DW_AT_name        : args   
     DW_AT_type        : <70>   
     DW_AT_location    : 2 byte block: 91 8     (DW_OP_fbreg: 8)

I've put the binaries here:

    http://people.freebsd.org/~nox/tmp/d/linux/xzj
    http://people.freebsd.org/~nox/tmp/d/linux/args

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list