]> granicus.if.org Git - clang/commit
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)
commit7745786044f159cf9ddf4a8a0f7be8fe2bebfa80
tree2bf860817e59508b20f2cb68d223317a2733dea4
parentf616ae2d1356dadde26ff553eb689e5455d65808
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>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167503 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGObjCRuntime.cpp
lib/CodeGen/CGObjCRuntime.h
test/CodeGenObjC/debug-info-ivars.m [new file with mode: 0644]