mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 23:32:58 +00:00
Hoist boundary condition out of loop header.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181248 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5a0c366b1f
commit
e305e03d6f
@ -141,7 +141,8 @@ void DWARFContext::dump(raw_ostream &OS, DIDumpType DumpType) {
|
|||||||
OS << "\n.debug_str_offsets.dwo contents:\n";
|
OS << "\n.debug_str_offsets.dwo contents:\n";
|
||||||
DataExtractor strOffsetExt(getStringOffsetDWOSection(), isLittleEndian(), 0);
|
DataExtractor strOffsetExt(getStringOffsetDWOSection(), isLittleEndian(), 0);
|
||||||
offset = 0;
|
offset = 0;
|
||||||
while (offset < getStringOffsetDWOSection().size()) {
|
uint64_t size = getStringOffsetDWOSection().size();
|
||||||
|
while (offset < size) {
|
||||||
OS << format("0x%8.8x: ", offset);
|
OS << format("0x%8.8x: ", offset);
|
||||||
OS << format("%8.8x\n", strOffsetExt.getU32(&offset));
|
OS << format("%8.8x\n", strOffsetExt.getU32(&offset));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user