HomePhabricator

[objc_direct] do not add direct properties to the serialization array
67831e69fa81Unpublished

Authored by MadCoder on Jan 22 2020, 12:08 PM.

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

[objc_direct] do not add direct properties to the serialization array

If we do, then the property_list_t length is wrong
and class_getProperty gets very sad.

Signed-off-by: Pierre Habouzit <phabouzit@apple.com>
Radar-Id: rdar://problem/58804805
Differential Revision: https://reviews.llvm.org/D73219
(cherry picked from commit 52311d0483eecd60bdcc39dd3fb134f2412370f6)