File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -110,11 +110,11 @@ void IGC::DbgDecoder::DbgInfoFormat::print(llvm::raw_ostream& OS) const {
110110 OS << " <VISADebugInfo>\n " ;
111111 OS << " Kernel: " << kernelName << " \n " ;
112112 OS << " RelocOffset: " << relocOffset << " \n " ;
113- OS << " NumSubroutines: " << numSubRoutines << " \n " ;
113+ OS << " NumSubroutines: " << subs. size () << " \n " ;
114114
115- IGC_ASSERT (numSubRoutines == subs.size ());
116- OS << " Subroutines:\n " ;
115+ OS << " Subroutines: [\n " ;
117116 PrintItems (OS, subs, " \n " );
117+ OS << " ]\n " ;
118118 OS << " CFI: {\n " ;
119119 cfi.print (OS);
120120 OS << " }\n " ;
Original file line number Diff line number Diff line change @@ -242,7 +242,6 @@ namespace IGC
242242 std::vector<std::pair<unsigned int , unsigned int >> CISAIndexMap;
243243 std::vector<VarInfo> Vars;
244244
245- uint16_t numSubRoutines = 0 ;
246245 std::vector<SubroutineInfo> subs;
247246 CallFrameInfo cfi;
248247
You can’t perform that action at this time.
0 commit comments