Files
swift-mirror/test/TBD/Inputs/install-name-map.json
Xi Ge 90f59e4336 TBDGen: teach the compiler to take a json file indicating previous install names
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
2020-01-13 17:45:40 -08:00

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"
},
]