Project

General

Profile

Feature #12226

libctf needs to handle DW_AT_count based array sizing

Added by Robert Mustacchi 2 months ago.

Status:
New
Priority:
Normal
Category:
lib - userland libraries
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:

Description

There are two different ways to emit array sizes in dwarf. Clang opts to use the DW_AT_count field to indicate the number of entries that are in the array as opposed to gcc which uses an upper bound attribute. We should support this so we can properly convert and process clang arrays.

Also available in: Atom PDF