Bug 13918 – lldb fails to decode DWARF DW_TAG_base_type

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2014-12-31T04:45:32Z
Last change time
2021-02-19T01:29:07Z
Assigned to
No Owner
Creator
Martin Nowak

Comments

Comment #0 by code — 2014-12-31T04:45:32Z
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 by code — 2015-02-05T04:12:17Z
Seems to Töne since updating lldb.
Comment #2 by timothee.cour2 — 2018-02-27T20:58:12Z
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 by timothee.cour2 — 2018-02-27T21:04:16Z
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 by pro.mathias.lang — 2021-02-19T01:29:07Z
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).