Put something sane in the DWARF offset field for bitfield ObjC ivars.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 6 Nov 2012 23:40:48 +0000 (23:40 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 6 Nov 2012 23:40:48 +0000 (23:40 +0000)
commit8593748ed5c3cdfb8116d3cc614b783a95352a4c
treefe9e4c1b198fc637a0e916225d104c28df60ef0c
parent9eb4e03873d0492b2bfcad5755deea3ffaf1907a
Put something sane in the DWARF offset field for bitfield ObjC ivars.
This is useful because unnamed bitfields can have effects on the
offsets which are not otherwise reflected in the DWARF information.

<rdar://problem/12629719>

llvm-svn: 167503
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGObjCRuntime.cpp
clang/lib/CodeGen/CGObjCRuntime.h
clang/test/CodeGenObjC/debug-info-ivars.m [new file with mode: 0644]