@@ -59,10 +59,10 @@ class AccessPathVerification : public SILModuleTransform {
59
59
if (collectedFromPath != accessPath) {
60
60
llvm::errs () << " Address use: " << *operand->getUser ()
61
61
<< " collected from path\n " ;
62
- collectedFromPath.dump ( );
62
+ collectedFromPath.print ( llvm::errs () );
63
63
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 () );
66
66
assert (false && " computed path does not match collected path" );
67
67
}
68
68
return ;
@@ -81,19 +81,19 @@ class AccessPathVerification : public SILModuleTransform {
81
81
if (!iterAndInserted.second ) {
82
82
llvm::errs () << " Address use: " << *operand->getUser ()
83
83
<< " with path...\n " ;
84
- accessPath.dump ( );
84
+ accessPath.print ( llvm::errs () );
85
85
llvm::errs () << " was not collected for: " << *use->getUser ();
86
86
llvm::errs () << " with path...\n " ;
87
87
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 () );
90
90
assert (false && " missing collected use" );
91
91
}
92
92
}
93
93
if (!foundOperandUse && !accessPath.hasUnknownOffset ()) {
94
94
llvm::errs () << " Address use: " << *operand->getUser ()
95
95
<< " is not a use of path\n " ;
96
- accessPath.dump ( );
96
+ accessPath.print ( llvm::errs () );
97
97
assert (false && " not a user of its own computed path " );
98
98
}
99
99
uses.clear ();
0 commit comments