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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
Note that eu-readelf --debug-dump=info also has trouble with this (probably
also because it cannot correct parse the large discriminator):

$ eu-readelf --debug-dump=info ./liblog.so
[...]
 Version: 5, Abbreviation section offset: 3225, Address size: 4, Offset size: 4
 Unit type: compile (1)
 [  51c9]  compile_unit         abbrev: 1
           producer             (strx1) "Android (10742551, +pgo, +bolt, +lto,
+
mlgo, based on r498229b) clang version 17.0.4
(https://android.googlesource.com/
toolchain/llvm-project e34ed7d63863b45858e74126edaa738e75887800)"
           language             (data2) C_plus_plus_14 (33)
           name                 (strx1)
"system/logging/liblog/logger_write.cpp"
           str_offsets_base     (sec_offset) str offsets base [  1198]
           stmt_list            (sec_offset) 4453
           low_pc               (addr) +0000000000
           ranges               (rnglistx) range index [    24]
           addr_base            (sec_offset) address base [   1d8]
           rnglists_base        (sec_offset) range list [   10a]
           loclists_base        (sec_offset) location list [   777]
 [  51e7]    base_type            abbrev: 2
             name                 (strx2) "DW_ATE_signed_32"
             encoding             (data1) signed (5)
             byte_size            (data1) 4
 [  51ec]    base_type            abbrev: 2
             name                 (strx2) "DW_ATE_signed_64"
             encoding             (data1) signed (5)
             byte_size            (data1) 8
 [  51f1]    subprogram           abbrev: 3
             low_pc               (addrx) [1a] +0x00005880 <_Z13GetDefaultTagv>
             high_pc              (data4) 114 (+0x000058f2)
             frame_base           (exprloc) 
              [ 0] reg5
             call_all_calls       (flag_present) yes
             abstract_origin      (ref4) [  9e3d]
 [  51fd]      variable             abbrev: 4
               name                 (strx1) "default_tag"
               type                 (ref4) [  5215]
eu-readelf: no srcfiles for CU [51c9]
               decl_file            (data1) ??? (0)
               decl_line            (data1) 152
               location             (exprloc) 
                [ 0] addrx [0] +0xfe58 <_ZZ13GetDefaultTagvE11default_tag>
[...]

Note that the CU DIE says: stmt_list            (sec_offset) 4453

And there definitely is a table at offset 4453 as can be seen with eu-readelf
--debug-dump=line ./liblog.so

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

Reply via email to