mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
I noticed in a follow-up patch that if you just swiftc without passing Onone these flags are not set and sometimes happen to default to right thing ... or not; as can be seen by the test cases modified. For example, at Onone we are supposed to include an extra swift module "SwiftOnoneSupport".
68 lines
1.7 KiB
Plaintext
68 lines
1.7 KiB
Plaintext
{
|
|
key.hash: <hash>,
|
|
key.dependencies: [
|
|
{
|
|
key.kind: source.lang.swift.import.module.swift,
|
|
key.name: "Swift",
|
|
key.filepath: Swift.swiftmodule,
|
|
key.hash: <hash>,
|
|
key.is_system: 1
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.import.module.swift,
|
|
key.name: "test_module",
|
|
key.filepath: test_module.swiftmodule,
|
|
key.hash: <hash>,
|
|
key.dependencies: [
|
|
{
|
|
key.kind: source.lang.swift.import.module.swift,
|
|
key.name: "Swift",
|
|
key.filepath: Swift.swiftmodule,
|
|
key.hash: <hash>,
|
|
key.is_system: 1
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.import.module.swift,
|
|
key.name: "SwiftOnoneSupport",
|
|
key.filepath: SwiftOnoneSupport.swiftmodule,
|
|
key.hash: <hash>,
|
|
key.dependencies: [
|
|
{
|
|
key.kind: source.lang.swift.import.module.swift,
|
|
key.name: "Swift",
|
|
key.filepath: Swift.swiftmodule,
|
|
key.hash: <hash>,
|
|
key.is_system: 1
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
key.entities: [
|
|
{
|
|
key.kind: source.lang.swift.ref.function.free,
|
|
key.name: "globalFunc()",
|
|
key.usr: "s:11test_module10globalFuncyyF",
|
|
key.line: 8,
|
|
key.column: 25
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.free,
|
|
key.name: "test()",
|
|
key.usr: "s:17index_func_import4testyyF",
|
|
key.line: 10,
|
|
key.column: 6,
|
|
key.entities: [
|
|
{
|
|
key.kind: source.lang.swift.ref.function.free,
|
|
key.name: "globalFunc()",
|
|
key.usr: "s:11test_module10globalFuncyyF",
|
|
key.line: 11,
|
|
key.column: 3
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|