mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We started using clang to emit the _OBJC_PROTOCOL_ definition. But we would use a different name for the proto_list definition than clang. "OBJC_LABEL_PROTOCOL$" (objc) |--> OBJC_PROTOCOL "\01l_OBJC_LABEL_PROTOCOL$_" (swift) |--> OBJC_PROTOCOL If an Objective C object also emitted the same protocol definition you could end up in a situation where both clang's and swift's proto_list definitions point to the same protocol definition. Older linkers don't like that. rdar://108505376
1.1 KiB
1.1 KiB