mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 06:53:53 +00:00
Print the contents, not the pointer...
llvm-svn: 2981
This commit is contained in:
parent
60f4c16199
commit
b646346214
@ -11,6 +11,7 @@
|
||||
#include "llvm/Analysis/LoopInfo.h"
|
||||
#include "llvm/Analysis/InductionVariable.h"
|
||||
#include "llvm/Assembly/Writer.h"
|
||||
#include "llvm/Module.h"
|
||||
#include <iterator>
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
@ -74,8 +75,8 @@ void WriteToOutput(const ImmediateDominators &ID, ostream &o) {
|
||||
for (ImmediateDominators::const_iterator I = ID.begin(), E = ID.end();
|
||||
I != E; ++I) {
|
||||
o << "=============================--------------------------------\n"
|
||||
<< "\nImmediate Dominator For Basic Block\n" << I->first
|
||||
<< "is: \n" << I->second << "\n";
|
||||
<< "\nImmediate Dominator For Basic Block\n" << *I->first
|
||||
<< "is: \n" << *I->second << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user