Commit Graph

4 Commits

Author SHA1 Message Date
Michael Gottesman
7eaf573276 [sil] As a fallback, if a parsed SILFunction does not have a DeclContext, set its parent SwiftModule to be the SwiftModule of its SILModule.
This ensures that we can successfully perform protocol conformance checks when
testing SIL files.
2023-08-28 18:39:52 -07:00
Pavel Yaskevich
3fb69b3c3c [SIL] SILFunction: Add runtime accessible function attribute
This attribute indicates that the given SILFunction has to be
added to "accessible functions" section and could be looked up
at runtime using a special API.
2022-12-20 09:33:44 -08:00
Pavel Yaskevich
4860f90fd7 [SIL] Add new flag to SILFunction - IsDistributed
Determines whether given SILFunction represents a distributed
method or its thunk.
2021-12-17 10:52:52 -08:00
zoecarver
6f339f800d [SIL] [Parser] Move ParserSIL into SIL library.
Move the source files from ParserSIL into the SIL library and remove the
ParserSIL library. ParsersSIL doesn't need to be its own library and this change will
simplify our builds.
2020-04-13 17:23:08 -07:00