Harlan Haskins
14a7ae56db
[TBDGen] Remove TBD options from FrontendOptions
...
This patch removes the duplication between FrontendOptions and
TBDGenOptions by parsing the TBDGenOptions up front similarly to IRGen
and SIL options.
2018-08-15 14:53:44 -07:00
Harlan
7318efe49d
[TBDGen] Allow user-provided dylib version flags ( #18716 )
...
* [TBDGen] Allow user-provided dylib version flags
This patch adds two frontend arguments, -tbd-compatibility-version and
-tbd-current-version, both of which accept SemVer versions.
These will show up in the generated TBD file for a given module as
current-version: 2.7
compatibility-version: 2.0
These flags both default to `1.0.0`.
* Reword some comments
* Add test for invalid version string
* Expand on comments for TBD flags
2018-08-15 11:42:42 -07:00
Huon Wilson
942320f8ac
[TBDGen] Swift ABI Version can be a constant, not a magic number.
2018-08-09 15:24:22 +10:00
Huon Wilson
cfc5abdaa2
[TBDGen] Emit the symbol for autolink-force-load-ing.
...
Fixes rdar://problem/40356032.
2018-05-23 10:56:49 +10:00
Huon Wilson
38e45c4be5
[TBDGen] Take options as a struct instead of arguments.
2018-05-23 00:02:15 +10:00
David Ungar
51d3165874
NFC: Clarifying uses of NumThreads.
...
Add hasMultipleGMs predicate to SILOptions.
Rename parameters to TBD file handling to better reflect abstraction boundary.
fix
2017-12-16 13:58:01 -08:00
Roman Levenstein
48d9b99675
Remove -sil-serialize-witness-tables flag completely
...
The functionality is always enabled now and there is no need to have a dedicated flag for it.
2017-10-20 19:45:29 -07:00
Huon Wilson
a6e4fdb887
[Frontend] Add -tbd-install_name frontend argument.
2017-08-02 11:33:54 -07:00
Huon Wilson
a0bc3bd0b6
[AST] Move getEffectiveAccess calls into SIL.
2017-06-20 17:34:48 -07:00
practicalswift
b704f1448b
[gardening] Improve header consistency
2017-04-12 15:13:11 +02:00
Huon Wilson
fcb88b4084
[TBD] Thread enough through to use UniversalLinkageInfo.
2017-04-06 17:50:57 -07:00
Huon Wilson
ac44f9675b
[TBDGen] Introduce module for generating TBD files.
...
This is designed to be a list of public symbols that will be emitted by
a module.
2017-03-23 18:32:10 -07:00