Skip to content
Commit e7d833de authored by Adrian Prantl's avatar Adrian Prantl
Browse files

Debug info: Don't emit a DW_AT_byte_size when emitting a DWARF4 bit field.

The DWARF spec clearly states that a bit field member should have either a
DW_AT_byte_size or a DW_AT_bit_size, but not both.
Also the DW_AT_byte_size is redundant with the size of the type of the member.

This fixes a bug found in PR 27758.

llvm-svn: 269714
parent 85df931d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment