mirror of
https://github.com/apple/swift.git
synced 2026-10-04 11:58:22 +02:00
For `@_originallyDefinedIn` declarations, we should be consistent with TBDGen to emit `$ld$previous` symbols instead of a huge number of `$ld$hide` symbols, when a previous-module-installname-map file is given from TBDGen options. `APIGenRequest` was constructing a new and empty set of `TBDGenOptions` so the map file was missing when generating API descriptor. Pass the actual options from the invocation.