Just skip the entire block in NDEBUG. No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312031
91177308-0d34-0410-b5e6-
96231b3b80d8
GlobalsToImport.insert(&GV);
}
}
+#ifndef NDEBUG
for (GlobalAlias &GA : SrcModule->aliases()) {
if (!GA.hasName())
continue;
<< " " << GA.getName() << " from "
<< SrcModule->getSourceFileName() << "\n");
}
+#endif
// Upgrade debug info after we're done materializing all the globals and we
// have loaded all the required metadata!