commit | 043346c62da689184d53457e7ff1973efca06934 | [log] [tgz] |
---|---|---|
author | Adrian Prantl <aprantl@apple.com> | Mon May 16 22:45:10 2016 +0000 |
committer | Adrian Prantl <aprantl@apple.com> | Mon May 16 22:45:10 2016 +0000 |
tree | 63b3866fa639a3f3832d59536a1e9ad728024594 | |
parent | abc9f47dfe89a9cd96413c102b2462722c13c9a2 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269714 91177308-0d34-0410-b5e6-96231b3b80d8