This is an archive of the discontinued LLVM Phabricator instance.

[codeview][clang] Added support for unnamed bitfield type.
AbandonedPublic

Authored by aaboud on Jun 27 2016, 12:02 PM.

Details

Reviewers
majnemer
rnk
Summary

Allow creating DI metadata for non-zero width unnamed bitfield members when emitting CodeView.
This is needed for patch D21489.

Diff Detail

Event Timeline

aaboud updated this revision to Diff 61999.Jun 27 2016, 12:02 PM
aaboud retitled this revision from to [codeview][clang] Added support for unnamed bitfield type..
aaboud updated this object.
aaboud added reviewers: rnk, majnemer.
aaboud added subscribers: cfe-commits, bwyma.
majnemer edited edge metadata.Jun 27 2016, 12:04 PM

As I said in the other differential, I do not think this is the right approach.
We should use the extraData for the bitfield member to indicate the offset of the storage unit.

aaboud abandoned this revision.Jul 5 2016, 12:41 AM

Different implementation was committed at rL274201.