mirror of
https://github.com/apple/swift.git
synced 2026-10-04 11:58:22 +02:00
The importer synthesizes a `__cxx__defaultArg_*` thunk (parented to the Clang TU) for defaulted C++ parameters. Under default CMO, producer SIL cross-references it with parent module `__ObjC`. Since the thunk was never added to a SwiftLookupTable, a consumer deserializing that SIL couldn't resolve the xref and crashed. Register it at synthesis time via registerSynthesizedClangDecl, as is already done for operators like `==`. rdar://178264621