-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.c interopFeature: Interoperability with CFeature: Interoperability with Cclang importerArea → compiler: The clang importerArea → compiler: The clang importercompilerThe Swift compiler itselfThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of software
Description
| Previous ID | SR-15801 |
| Radar | rdar://problem/88299954 |
| Original Reporter | @QuietMisdreavus |
| Type | Bug |
Environment
Swift snapshot, current main branch
Additional Detail from JIRA
| Votes | 0 |
| Component/s | swift |
| Labels | Bug |
| Assignee | @QuietMisdreavus |
| Priority | Medium |
md5: 541cf6968fe028b7f3806cb651d9d69f
Issue Description:
https://ci.swift.org/job/swift-corelibs-foundation-PR-macOS/2804/console
This is an issue caused by rdar://87601741 (PR 40860) - getDisplayDecls is collecting more decls, and adds an assertion that it shouldn't collect duplicates. This was added to prevent loading a module's underlying Clang module repeatedly, but it looks like it's also being hit for separate Clang modules, due to decls that ClangImporter automatically adds, such as __NSConstantString. This is causing compilation failures in corelibs-foundation's CI.
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.c interopFeature: Interoperability with CFeature: Interoperability with Cclang importerArea → compiler: The clang importerArea → compiler: The clang importercompilerThe Swift compiler itselfThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of software