mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If a function's parameter or return types involve nominal types that have been moved across modules using @_originallyDefinedIn, we must take care to always mangle the opaque result type's name using the original module names and not the current module names. This was a problem with DWARF mangling, which normally disables @_originallyDefinedIn for other purposes. Make sure to always temporarily re-enable it when mangling an opaque result type. Fixes rdar://problem/93822207.
1.1 KiB
1.1 KiB