Skip to content

[SR-6718] Linux Interoperability: Eliminate items in class metadata layout that aren't relevant to non-objc builds #49267

Closed
@AnnaZaks

Description

@AnnaZaks
mannequin
Previous ID SR-6718
Radar rdar://problem/18801263
Original Reporter @AnnaZaks
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, Linux, Runtime
Assignee None
Priority Medium

md5: 1801085f2cc5dfb398494cbf214ff76d

Issue Description:

There are various places in the metadata generation where NULL values are being injected simply because there’s some objective-c related field that isn’t important on a non-objc platform. We should remove these and make sure that things still work. (Note that the debugger wants to preserve some sort of magic number that can be used to identify classes. On ObjC platforms the debugger uses the Swift class's ObjC data to do that.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    LinuxPlatform: LinuxbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfruntimeThe Swift Runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions