Ellie Shin
72a7760027
Support package SIL linkage.
...
Decls with a package access level are currently set to public SIL
linkages. This limits the ability to have more fine-grained control
and optimize around resilience and serialization.
This PR introduces a separate SIL linkage and FormalLinkage for
package decls, pipes them down to IRGen, and updates linkage checks
at call sites to include package linkage.
Resolves rdar://121409846
2024-02-06 01:23:14 -08:00
Zak Kent
2abca625d7
Merge branch 'main' into update-immediate
2023-08-18 16:07:14 -07:00
Zak Kent
6aafeec181
[Immediate] [SILGen] Implement on-demand compilation of globals
2023-08-17 11:03:11 -07:00
Zak Kent
e276c79939
[SIL] [Immediate] Promote linkage of SILFunctions defining requested symbols
...
Promotes the linkage of `SILFunction`s defining requested symbols,
ensuring they are emitted during IRGen.
2023-08-17 10:11:29 -07:00
Zak Kent
f82fa91de9
[Immediate] Promote linkage of lazily discovered internal symbols
2023-08-17 09:56:40 -07:00
Zak Kent
a6eb4b44c7
[TBD] Refactored SymbolSourceMap to be a typedef
2023-08-17 09:55:49 -07:00
Zak Kent
c0a16d06ed
[Immediate] Drop back to RuntimeDyld on Linux
2023-08-14 13:28:23 -07:00
Zak Kent
4616e03f61
[Immediate] Only add renamer plugin on macOS
2023-08-14 13:28:23 -07:00
Zak Kent
514fc1e55f
[Immediate] Explicitly move error when returning
2023-08-14 13:28:23 -07:00
Zak Kent
03b539d06e
[TBD] [Immediate] Revert implementation of SymbolSourceMap
2023-08-14 13:28:23 -07:00
Zak Kent
5181270a87
[Immediate] Remove unused functions in SwiftJIT
2023-08-14 13:28:22 -07:00
Zak Kent
473a18d2ce
[Immediate] Implement EagerSwiftMaterializationUnit
2023-08-14 13:28:22 -07:00
Zak Kent
6abc5c5d39
[Immediate] Re-introduce lazy reexports
2023-08-14 13:28:22 -07:00
Zak Kent
48c36c956d
[Immediate] Move SwiftMaterializationUnit to public library
2023-08-14 13:28:22 -07:00