mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Print Module Fingerprints in swift-ide-test
This commit is contained in:
@@ -2516,6 +2516,7 @@ static int doPrintModuleGroups(const CompilerInvocation &InitInvok,
|
||||
|
||||
static void printModuleMetadata(ModuleDecl *MD) {
|
||||
auto &OS = llvm::outs();
|
||||
OS << "fingerprint=" << MD->getFingerprint().getRawValue() << "\n";
|
||||
MD->collectLinkLibraries([&](LinkLibrary lib) {
|
||||
OS << "link library: " << lib.getName()
|
||||
<< ", force load: " << (lib.shouldForceLoad() ? "true" : "false") << "\n";
|
||||
|
||||
Reference in New Issue
Block a user