@@ -59,10 +59,10 @@ class AccessPathVerification : public SILModuleTransform {
5959 if (collectedFromPath != accessPath) {
6060 llvm::errs () << " Address use: " << *operand->getUser ()
6161 << " collected from path\n " ;
62- collectedFromPath.dump ( );
62+ collectedFromPath.print ( llvm::errs () );
6363 llvm::errs () << " has different path\n " ;
64- accessPath.dump ( );
65- operand->getUser ()->getFunction ()->dump ( );
64+ accessPath.print ( llvm::errs () );
65+ operand->getUser ()->getFunction ()->print ( llvm::errs () );
6666 assert (false && " computed path does not match collected path" );
6767 }
6868 return ;
@@ -81,19 +81,19 @@ class AccessPathVerification : public SILModuleTransform {
8181 if (!iterAndInserted.second ) {
8282 llvm::errs () << " Address use: " << *operand->getUser ()
8383 << " with path...\n " ;
84- accessPath.dump ( );
84+ accessPath.print ( llvm::errs () );
8585 llvm::errs () << " was not collected for: " << *use->getUser ();
8686 llvm::errs () << " with path...\n " ;
8787 auto computedPath = iterAndInserted.first ->second ;
88- computedPath.dump ( );
89- use->getUser ()->getFunction ()->dump ( );
88+ computedPath.print ( llvm::errs () );
89+ use->getUser ()->getFunction ()->print ( llvm::errs () );
9090 assert (false && " missing collected use" );
9191 }
9292 }
9393 if (!foundOperandUse && !accessPath.hasUnknownOffset ()) {
9494 llvm::errs () << " Address use: " << *operand->getUser ()
9595 << " is not a use of path\n " ;
96- accessPath.dump ( );
96+ accessPath.print ( llvm::errs () );
9797 assert (false && " not a user of its own computed path " );
9898 }
9999 uses.clear ();
0 commit comments