[PATCH] D51990: [DebugInfo] Fix emitting of bit offset for ObjC

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 12 08:54:40 PDT 2018


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;
     } else {
----------------
It might help to attempt some git blame archeology.
Judging from the comment, it sounds like the debugger is supposed to query the runtime for the *byte* offset and then add the bit offset from DWARF? Could that make sense?


Repository:
  rC Clang

https://reviews.llvm.org/D51990





More information about the cfe-commits mailing list