>Number:         8203
>Category:       c
>Synopsis:       feature request: include structure/class alignment information into 
>debugging section (stabs)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 11 15:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Siva
>Release:        unknown-1.0
>Organization:
>Environment:
all gcc's, all os's
>Description:
Currently gcc does not output the alignment information for structure/class members to 
the debugging sections. It does output bitpos and bitsize of each structure member. 
but not the alignment information. It would be great to have the alignment information 
too.

For instance, if I want to write a function that takes a type-name as its argument and 
returns the alignment required by the structure, then it is not possible to do so bcos 
the compiler never outputs this information (so objdump cannot read this at all).
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

Reply via email to