Bug 23100 - dwarflint -vs- DW_AT_alignment
Summary: dwarflint -vs- DW_AT_alignment
Status: NEW
Alias: None
Product: elfutils
Classification: Unclassified
Component: tools (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-20 16:04 UTC by Tom Tromey
Modified: 2018-04-20 16:36 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2018-04-20 16:04:45 UTC
dwarflint should issue a warning if DW_AT_alignment is not a power of 2.
Comment 1 Tom Tromey 2018-04-20 16:36:01 UTC
It should also check other constraints, like that it is a constant
and that it is a positive integer.