[lldb-dev] Status of DWARF64 in LLDB

Eric Christopher via lldb-dev lldb-dev at lists.llvm.org
Tue Mar 12 13:48:22 PDT 2019


On Tue, Mar 12, 2019 at 1:43 PM Jan Kratochvil via lldb-dev
<lldb-dev at lists.llvm.org> wrote:
>
> On Mon, 11 Mar 2019 21:25:05 +0100, Jan Kratochvil via lldb-dev wrote:
> > I think it is never needed in real world as long as one uses DWP and/or
> > -fdebug-types-section.  Red Hat is using neither (for DWZ postprocessing) and
> > so I did hit this limit of unsupported DWARF64 in GNU utilities [attached].
>
> FYI chromium-67.0.3396.87.rpm built with gcc-8.3.1-2.fc29.x86_64 DWARF-4
> -fdebug-types-section has 1.6GB .debug_info and 0.5GB .debug_types:
>
> Section Headers:
>   [Nr] Name           Type     Address          Off      Size     ES Flg Lk Inf Al
>   [30] .debug_aranges PROGBITS 0000000000000000   000360   7a7630 00      0   0 16
>   [31] .debug_info    PROGBITS 0000000000000000   7a7990 5e358d47 00      0   0  1
>   [32] .debug_abbrev  PROGBITS 0000000000000000 5eb006d7  716d053 00      0   0  1
>   [33] .debug_line    PROGBITS 0000000000000000 65c6d72a  c686a97 00      0   0  1
>   [34] .debug_str     PROGBITS 0000000000000000 722f41c1 21c96669 01  MS  0   0  1
>   [35] .debug_loc     PROGBITS 0000000000000000 93f8a82a 24b3a638 00      0   0  1
>   [36] .debug_ranges  PROGBITS 0000000000000000 b8ac4e62  ec29fd0 00      0   0  1
>   [37] .debug_types   PROGBITS 0000000000000000 c76eee32 1cab0bd3 00      0   0  1
>
FWIW I would consider Chromium a medium sized project...

I'll see if I can grab some sample numbers of a few internal applications.

-eric


More information about the lldb-dev mailing list