mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
The frontend supports this via new options -index-unit-output-path and -index-unit-output-path-filelist that mirror -o and -output-filelist. These are intended to allow sharing index data across builds in separate directories (so different -o values) that are otherwise equivalent as far as the index data is concerned (e.g. an ASAN build and a non-ASAN build) by supplying the same -index-unit-output-path for both. This change updates the driver to add these new options to the frontend invocation 1) when a new "index-unit-output-path" entry is specified for one or more input files in the -output-file-map json or 2) if -index-file is specified, when a new -index-unit-output-path driver option is passed. Resolves rdar://problem/74816412
14 lines
218 B
JSON
14 lines
218 B
JSON
{
|
|
"features": [
|
|
{
|
|
"name": "experimental-skip-all-function-bodies"
|
|
},
|
|
{
|
|
"name": "experimental-allow-module-with-compiler-errors"
|
|
},
|
|
{
|
|
"name": "index-unit-output-path"
|
|
}
|
|
]
|
|
}
|