aprantl added a comment.

@shafik It would be good to document what the expected behavior for bitfields 
ivars in Objective-C is. For the sake of this discussion, but really we also 
want this in a comment in the code, for future reference.

IIUC, ivars don't have meaningful static offsets that we could put in DWARF, 
because only the Objective-C runtime knows the real offsets at runtime. Is the 
correct? How does that extend for bitfields? Is the Objective-C runtime aware 
of bitfield ivars, or are bitfields grouped together inter larger "container" 
ivars that the ObjC runtime knows about, and we need to encode the relative 
bit-offsets inside that container in DWARF?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83433/new/

https://reviews.llvm.org/D83433



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to