rjmccall added inline comments.
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:2369
+ ? CGM.getObjCRuntime().ComputeBitfieldBitOffset(CGM, ID, Field)
+ : 0;
} else {
JDevlieghere wrote:
> aprantl wrote:
> > JDevlieghere wrote:
> > >
JDevlieghere added inline comments.
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:2369
+ ? CGM.getObjCRuntime().ComputeBitfieldBitOffset(CGM, ID, Field)
+ : 0;
} else {
aprantl wrote:
> JDevlieghere wrote:
> > JDevlieghere wrote:
>
aprantl added inline comments.
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:2369
+ ? CGM.getObjCRuntime().ComputeBitfieldBitOffset(CGM, ID, Field)
+ : 0;
} else {
JDevlieghere wrote:
> JDevlieghere wrote:
> > aprantl wrote:
> > > a
JDevlieghere added inline comments.
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:2369
+ ? CGM.getObjCRuntime().ComputeBitfieldBitOffset(CGM, ID, Field)
+ : 0;
} else {
JDevlieghere wrote:
> aprantl wrote:
> > aprantl wrote:
> > > I
JDevlieghere added inline comments.
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:2369
+ ? CGM.getObjCRuntime().ComputeBitfieldBitOffset(CGM, ID, Field)
+ : 0;
} else {
aprantl wrote:
> aprantl wrote:
> > It might help to attempt so
aprantl added inline comments.
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:2369
+ ? CGM.getObjCRuntime().ComputeBitfieldBitOffset(CGM, ID, Field)
+ : 0;
} else {
aprantl wrote:
> It might help to attempt some git blame archeology.
aprantl requested changes to this revision.
aprantl added inline comments.
This revision now requires changes to proceed.
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:2369
+ ? CGM.getObjCRuntime().ComputeBitfieldBitOffset(CGM, ID, Field)
+ : 0;
} e
JDevlieghere created this revision.
JDevlieghere added reviewers: aprantl, dexonsmith.
We generate incorrect values for the DW_AT_data_bit_offset for interfaces in
Objective-C. I can only speculate as to what we were trying to achieve by
taking the modulo of the bit size with the byte size, but