Commit Graph

2 Commits

Author SHA1 Message Date
Slava Pestov
32954fc463 Use -read-legacy-type-info-path in Runtime/class-layout-from-objc.m test 2019-02-08 14:22:00 -05:00
Jordan Rose
7629253ab5 Test that newer libobjcs let the Swift runtime set up a class's layout (#21942)
Specifically, when the class is referenced from Objective-C first,
before being referenced from Swift in any way. This is important for
resilience, since up until now Objective-C isn't used to the size of a
class changing based on anything other than a superclass's size
changing.

This is basically the test that would have gone with 9024768b0 had
there been a build of libobjc to test it with.

rdar://problem/45718008
2019-01-17 17:39:44 -08:00