Commit Graph

5 Commits

Author SHA1 Message Date
Rintaro Ishizaki
64241355bd [SourceKit] Add automatic dependency check to 'compile' request 2022-01-28 16:34:10 -08:00
Rintaro Ishizaki
d91ec5ac1d [SourceKit] Add cancellation points for 'compile' requests
After each stage of the compilation pipeline before the code generation.
Sema, SILGen, SILOptimization, SILLowering, IRGen.
2022-01-24 22:18:10 -08:00
Rintaro Ishizaki
1f623f63a7 [SourceKit] Bug fixes in 'compile'
* Diagnostics consumer wasn't attached in new compilation
* The reuse flag check was flipped
2022-01-21 13:58:44 -08:00
Rintaro Ishizaki
e775d853d3 [SourceKit] Ignore LLVM arguments in 'compile' request
LLVM arguments processing is a process global state. At this point,
there's no way to localize it to a CompilerInstance. For now, ignore any
LLVM arguemnts, so options from another compilation doesn't affect other
compilations.

rdar://86809003
2022-01-21 10:12:08 -08:00
Rintaro Ishizaki
7c92a8e555 [SourceKit] Add a request to generate object files in SourceKit
Add 'request.compile'
2021-12-21 14:35:38 -08:00