HomePhabricator

[lldb] Adjust for the new class_rw_t layout.

Authored by JDevlieghere on Tue, Oct 22, 10:18 AM.

Description

[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.

Details

Committed
JDevlieghereTue, Oct 22, 10:22 AM
Parents
rG3bf7fddeb056: Update git-llvm script to push to GitHub
Branches
Unknown
Tags
Unknown