D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 13918 - lldb fails to decode DWARF DW_TAG_base_type
Summary: lldb fails to decode DWARF DW_TAG_base_type
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 All
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-31 04:45 UTC by Martin Nowak
Modified: 2021-02-19 01:29 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Martin Nowak 2014-12-31 04:45:32 UTC
error: need to add support for DW_TAG_base_type encoded with DW_ATE = 0x5, bit_size = 0

Seems like the bit_size is read incorrectly.
DW_ATE = 0x5 is for DW_ATE_signed

Happens when printing a backtrace, neither dwarfdump nor readelf report show any byte_size of 0.
Comment 1 Martin Nowak 2015-02-05 04:12:17 UTC
Seems to Töne since updating lldb.
Comment 2 Timothee Cour 2018-02-27 20:58:12 UTC
it's still happening in lldb 

error: need to add support for DW_TAG_base_type 'immutable(char)' encoded with DW_ATE = 0x10, bit_size = 8

this msg appears at the start of a lldb session (eg when using fr v for 1st time)
Comment 3 Timothee Cour 2018-02-27 21:04:16 UTC
full error:

error: need to add support for DW_TAG_base_type 'immutable(char)' encoded with DW_ATE = 0x10, bit_size = 8
error: need to add support for DW_TAG_base_type 'char' encoded with DW_ATE = 0x10, bit_size = 8
Comment 4 Mathias LANG 2021-02-19 01:29:07 UTC
The bug Martin reported is gone. The bug you are referring to Timothee was an LLDB bug which was fixed in v11 (https://reviews.llvm.org/D79559).