Steven Wu
47137709a4
[CAS] Virtualize TBD output
...
Virtualize TBD file output so we can check the output determinisim and
also be cached.
2023-06-12 13:22:10 -07:00
Erik Eckstein
45acb912a9
Revert "Add a mechanism to let cross-module-optimization add additional TBD symbols."
...
This reverts commit c55f040308 .
It's not needed anymore because CMO does not introduce public symbols when a TBD file is emitted.
2022-04-29 18:22:55 +02:00
Erik Eckstein
c55f040308
Add a mechanism to let cross-module-optimization add additional TBD symbols.
...
PublicCMOSymbols stores symbols which are made public by cross-module-optimizations.
Those symbols are primarily stored in SILModule and eventually used by TBD generation and validation.
2021-12-20 11:33:02 +01:00
Robert Widmann
8b725d8713
[NFC] Inline inputFileKindCanHaveTBDValidated
2020-09-11 21:24:26 -06:00
Robert Widmann
6601c30646
[Gardening] Const-Qualify Some llvm::Module References
2020-04-16 11:57:44 -07:00
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
Huon Wilson
38e45c4be5
[TBDGen] Take options as a struct instead of arguments.
2018-05-23 00:02:15 +10:00
David Ungar
4866df6dfd
Move SupplementaryOutputs into each InputFile.
2018-02-28 09:41:49 -08: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
Huon Wilson
0eb849715f
[FrontendTool] Only validate TBD for Swift input.
2017-05-23 14:46:23 -07:00
Huon Wilson
40ba18615b
[Frontend] -validate-tbd-against-ir has 3 levels of validation.
...
It can now:
- not validate (=none)
- validate that all symbols in the IR are also in the TBD (=missing),
- validate the above, and also that all in the TBD are in the IR (=all).
The first and last were switched between with the old boolean flag, the
second is new.
2017-05-19 18:36: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
4eff6f1374
[FrontendTool] -emit-tbd and -validate-tbd-against-ir flags.
...
These, respectively, write a list of symbols to a file, and compare what
that list would be against the "true" list (the symbol names in the IR).
2017-03-28 16:31:09 -07:00