After commit 102300, any obj-c software compiled with clang crashes at launch time with the following stack trace.
Reverting this specific commit fix the issue.
I managed to build a reduced test case:
================== foo.m ==================
#include <Foundation/Foundation.h>
@interface BaseNode : NSObject <NSCoding, NSCopying> { }
@end
@implementation BaseNode
@end
int main(int argc, char **argv) {
return 0;
}
Sending to Chris explicitly since he checked it in
-eric
Thanks for the head's up. It looks like metadata is getting overaligned, making the runtime cranky. I'll revert it and fix the PR another way, thanks again!
-Chris