Removed debug info printing

llvm-svn: 3778
This commit is contained in:
Anand Shukla 2002-09-17 20:24:46 +00:00
parent 077b45d931
commit ff0248c47c
1 changed files with 10 additions and 1 deletions

View File

@ -170,8 +170,12 @@ void getMappingInfoForFunction::writeLLVMToMImap(Function &FI){
BI != BE; ++BI, ++bb){
unsigned li = 0;
writeNumber(bb);
//std::cerr<<"BasicBlockNumber= "<<bb<<"\n";
//Out << "BB: "<<(void *)BI<<"\n";
writeNumber(BI->size());
//std::cerr<<"BasicBlockSize = "<<BI->size()<<"\n";
for (BasicBlock::iterator II = BI->begin(),
IE = BI->end(); II != IE; ++II, ++li){
//Out << "I: "<<*II<<"\n";
@ -180,11 +184,16 @@ void getMappingInfoForFunction::writeLLVMToMImap(Function &FI){
//do for each corr. MI
writeNumber(li);
writeNumber(miI.size());
//std::cerr<<"InstructionNumber= "<<li<<"\n";
writeNumber(miI.size());
//std::cerr<<"InstructionSize = "<<miI.size()<<"\n";
for (MachineCodeForInstruction::iterator miII = miI.begin(),
miIE = miI.end(); miII != miIE; ++miII){
//Out << "MI: "<<**miII<<"\n";
writeNumber(MIkey[*miII]);
//std::cerr<<"MachineInstruction= "<<MIkey[*miII]<<"\n";
}
}
}