[PATCH] D140195: [Clang][CGDebugInfo][ObjC] Mark objc bitfields with the DIFlagBitfield flag
Juan Manuel Martinez CaamaƱo via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 20 01:47:55 PST 2022
jmmartinez added a comment.
In D140195#4001989 <https://reviews.llvm.org/D140195#4001989>, @aprantl wrote:
> How does this affect the generated DWARF? Have you tested that this does the right thing in LLDB?
It shouldn't affect the generated DWARF on LLVM's main branch.
Currently, LLVM relies on the field size to know if a member is a bitfield or not.
However, if we apply the patch https://reviews.llvm.org/D96334 , if the `DIFlagBitField` attribute is not added, the members won't be treated as bitfields.
Unluckly, I wasn't able to test the combination of https://reviews.llvm.org/D96334 and this patch together. If you have some pointers about how to trigger a test job on "Green Dragon", or how to test lldb's objective-c tests on Linux I'd be happy to test.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140195/new/
https://reviews.llvm.org/D140195
More information about the cfe-commits
mailing list