mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #8477 from graydon/rdar-30961871-metrics-mark-2
This commit is contained in:
@@ -4526,7 +4526,7 @@ void swift::serialize(ModuleOrSourceFile DC,
|
||||
|
||||
bool hadError = withOutputFile(getContext(DC), options.OutputPath,
|
||||
[&](raw_ostream &out) {
|
||||
SharedTimer timer("Serialization (swiftmodule)");
|
||||
SharedTimer timer("Serialization, swiftmodule");
|
||||
Serializer::writeToStream(out, DC, M, options);
|
||||
});
|
||||
if (hadError)
|
||||
@@ -4535,7 +4535,7 @@ void swift::serialize(ModuleOrSourceFile DC,
|
||||
if (options.DocOutputPath && options.DocOutputPath[0] != '\0') {
|
||||
(void)withOutputFile(getContext(DC), options.DocOutputPath,
|
||||
[&](raw_ostream &out) {
|
||||
SharedTimer timer("Serialization (swiftdoc)");
|
||||
SharedTimer timer("Serialization, swiftdoc");
|
||||
Serializer::writeDocToStream(out, DC, options.GroupInfoPath,
|
||||
getContext(DC));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user