llvm.org GIT mirror llvm / 5d04a3a
Formatting cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162499 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 7 years ago
1 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
6262 Version = debug_info_data.getU16(&offset);
6363 bool abbrevsOK = debug_info_data.getU32(&offset) == abbrevs->getOffset();
6464 Abbrevs = abbrevs;
65 AddrSize = debug_info_data.getU8 (&offset);
65 AddrSize = debug_info_data.getU8(&offset);
6666
6767 bool versionOK = DWARFContext::isSupportedVersion(Version);
6868 bool addrSizeOK = AddrSize == 4 || AddrSize == 8;
175175 addDIE(die);
176176 return 1;
177177 }
178 else if (depth == 0 && initial_die_array_size == 1) {
178 else if (depth == 0 && initial_die_array_size == 1)
179179 // Don't append the CU die as we already did that
180 } else {
181 addDIE (die);
182 }
180 ;
181 else
182 addDIE(die);
183183
184184 const DWARFAbbreviationDeclaration *abbrDecl =
185185 die.getAbbreviationDeclarationPtr();
201201 // should always terminate at or before the start of the next compilation
202202 // unit header).
203203 if (offset > next_cu_offset)
204 fprintf (stderr, "warning: DWARF compile unit extends beyond its"
205 "bounds cu 0x%8.8x at 0x%8.8x'\n", getOffset(), offset);
204 fprintf(stderr, "warning: DWARF compile unit extends beyond its"
205 "bounds cu 0x%8.8x at 0x%8.8x'\n", getOffset(), offset);
206206
207207 setDIERelations();
208208 return DieArray.size();