Xi Ge
c868515fae
FineModuleTracing: only collect fine-grained tracing for those source files that compiler promises to type check.
...
rdar://141065994
2024-12-10 16:56:16 -08:00
Xi Ge
4a5d041932
FineModuleTrace: reposition the currently ObjC message specific trace files to be a more general purposed file for tracing fine-grained dependencies. NFC
2024-11-20 12:41:21 -08:00
Xi Ge
7bf010777e
Frontend: when emitting loaded module trace file, also emit a JSON file tracking Objc method calls issued from the source code.
2024-10-24 17:19:21 -07:00
Steven Wu
b326c55d82
[CAS] Full support for make-style dependencies file caching hit
...
Fully support make-style `.d` dependencies file output by making
following improvements:
* All correct dependency file render when cache hit for a different
output file location. The dependency file should list the correct
output path, not the stale output path for the initial compilation
* When enable a path prefix mapper to canonicalize the path, the
dependency file should render the input file correctly as the input
file path on disk.
rdar://132250067
2024-09-30 15:53:18 -07:00
Steven Wu
09b8af86fb
Virtualize swift compiler outputs ( #63206 )
...
Using a virutal output backend to capture all the outputs from
swift-frontend invocation. This allows redirecting and/or mirroring
compiler outputs to multiple location using different OutputBackend.
As an example usage for the virtual outputs, teach swift compiler to
check its output determinism by running the compiler invocation
twice and compare the hash of all its outputs.
Virtual output will be used to enable caching in the future.
2023-04-05 23:34:37 +08:00
Josh Soref
38c0de0598
Spelling frontend ( #42465 )
...
* spelling: calculated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: compilations
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: containing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: dependency
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: dependent
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: diagnose
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: explicit
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: explicitly
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: feature
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: fulfill
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: fulfillment
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: invoke
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: module
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: multiple
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: nonexistent
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: omitted
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: optimization
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: performing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: primaries
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: propagate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: sacrifices
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: scanned
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: substitution
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: successful
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: typecheck
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: unobtrusive
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: utilities
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2022-04-20 15:18:37 -07:00
Robert Widmann
17143cb9c3
[NFC] Split ModuleTrace Infrastructure out of FrontendTool
2020-11-11 14:32:44 -08:00
Robert Widmann
adacecb47a
[NFC] Split Make-Style Dependency Emission from FrontendTool
2020-11-11 14:32:43 -08:00