[all-commits] [llvm/llvm-project] 0bff9b: [lldb] Adjust for the new class_rw_t layout.

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Oct 22 11:13:08 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bff9bd26e3d8b424f96f66b4297a73a873c4e53
      https://github.com/llvm/llvm-project/commit/0bff9bd26e3d8b424f96f66b4297a73a873c4e53
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2019-10-22 (Tue, 22 Oct 2019)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp

  Log Message:
  -----------
  [lldb] Adjust for the new class_rw_t layout.

The field holding the "ro" will now be a union. If the low bit is set,
then it isn't an ro and it needs to be dereferenced once more to get to
it. If the low bit isn't set, then it is a proper class_ro_t

No dedicated test is needed as this code path will trigger when running
the existing Objective-C tests under a current version of the runtime.




More information about the All-commits mailing list