mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
Using the new linker directives $ld$previous requires the compiler to know the previous install names for the symbols marked as removed. This patch teaches the compiler to take a path to a Json file specifying the map between module names and previous install names. Also, these install names can be platform-specific. Progress towards: rdar://58281536
16 lines
277 B
JSON
16 lines
277 B
JSON
[
|
|
{
|
|
"module": "Foo",
|
|
"platforms": ["macOS"],
|
|
"install_name": "/System/MacOS"
|
|
},
|
|
{
|
|
"module": "Foo",
|
|
"install_name": "/System/default"
|
|
},
|
|
{
|
|
"module": "Foo",
|
|
"platforms": ["iOS", "tvOS", "watchOS"],
|
|
"install_name": "/System/Others"
|
|
},
|
|
] |