[DepScan] Add missing field in JSON output

SwiftSourceModule can contain "commandLine" field and add that into the
JSON output format.
This commit is contained in:
Steven Wu
2023-06-29 16:46:18 -07:00
parent 0876a3e04f
commit dfd11cfec4
4 changed files with 21 additions and 15 deletions

View File

@@ -33,6 +33,9 @@ import TestModule
// CHECK-NEXT: "swift": {
// CHECK-NEXT: "moduleInterfacePath":
// CHECK-NEXT: "contextHash":
// CHECK-NEXT: "compiledModuleCandidates": [
// CHECK-NEXT: TestModule.swiftmodule
// CHECK-NEXT: ],
// CHECK-NEXT: "commandLine": [
// CHECK-NEXT: "-frontend",
// CHECK-NEXT: "-compile-module-from-interface",