Frontend: when emitting loaded module trace file, also emit a JSON file tracking Objc method calls issued from the source code.

This commit is contained in:
Xi Ge
2024-10-24 13:56:46 -07:00
parent cd83ee1140
commit 7bf010777e
5 changed files with 108 additions and 0 deletions

View File

@@ -1001,6 +1001,7 @@ static void performEndOfPipelineActions(CompilerInstance &Instance) {
Instance.getMainModule(), Instance.getDependencyTracker(), opts);
dumpAPIIfNeeded(Instance);
swift::emitObjCMessageSendTraceIfNeeded(Instance.getMainModule(), opts);
}
// Contains the hadError checks internally, we still want to output the