Skip to content

Commit 8f2f434

Browse files
committed
addressing comments
1 parent 37c2c3d commit 8f2f434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Object/ELF.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,8 @@ decodeBBAddrMapImpl(const ELFFile<ELFT> &EF,
838838
RangeBaseAddress = *AddressOrErr;
839839
NumBlocksInBBRange = readULEB128As<uint32_t>(Data, Cur, ULEBSizeErr);
840840
}
841-
uint32_t TotalNumBlocks = 0;
842841
std::vector<BBAddrMap::BBRangeEntry> BBRangeEntries;
842+
uint32_t TotalNumBlocks = 0;
843843
for (uint32_t BBRangeIndex = 0; BBRangeIndex < NumBBRanges;
844844
++BBRangeIndex) {
845845
uint32_t PrevBBEndOffset = 0;

0 commit comments

Comments
 (0)