mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
DebugInfo: Correct comment & re-format a nearby loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5e915e6e36
commit
66f464ee26
@ -2383,13 +2383,11 @@ void DwarfUnits::emitAddresses(const MCSection *AddrSection) {
|
|||||||
// Start the dwarf addr section.
|
// Start the dwarf addr section.
|
||||||
Asm->OutStreamer.SwitchSection(AddrSection);
|
Asm->OutStreamer.SwitchSection(AddrSection);
|
||||||
|
|
||||||
// Get all of the address pool entries and put them in an array by their ID so
|
// Order the address pool entries by ID
|
||||||
// we can sort them.
|
|
||||||
SmallVector<const MCExpr *, 64> Entries(AddressPool.size());
|
SmallVector<const MCExpr *, 64> Entries(AddressPool.size());
|
||||||
|
|
||||||
for (DenseMap<const MCExpr *, unsigned>::iterator
|
for (DenseMap<const MCExpr *, unsigned>::iterator I = AddressPool.begin(),
|
||||||
I = AddressPool.begin(),
|
E = AddressPool.end();
|
||||||
E = AddressPool.end();
|
|
||||||
I != E; ++I)
|
I != E; ++I)
|
||||||
Entries[I->second] = I->first;
|
Entries[I->second] = I->first;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user