diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-07-08 17:51:28 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-07-08 17:51:28 +0000 |
commit | ce1960f936daa3e9d7c329e1487ff31c2060b469 (patch) | |
tree | b1421a5ef3d14d4ebc799df8853149fda51b6f5a /llvm/lib/CodeGen | |
parent | efc4c01ed32d5dfd34365a3392c22b0a0ac070a8 (diff) | |
download | bcm5719-llvm-ce1960f936daa3e9d7c329e1487ff31c2060b469.tar.gz bcm5719-llvm-ce1960f936daa3e9d7c329e1487ff31c2060b469.zip |
DebugInfo: Correct comment & re-format a nearby loop
llvm-svn: 185844
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 6b06d8b99b3..9cf8f3c872f 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2383,13 +2383,11 @@ void DwarfUnits::emitAddresses(const MCSection *AddrSection) { // Start the dwarf addr section. Asm->OutStreamer.SwitchSection(AddrSection); - // Get all of the address pool entries and put them in an array by their ID so - // we can sort them. + // Order the address pool entries by ID SmallVector<const MCExpr *, 64> Entries(AddressPool.size()); - for (DenseMap<const MCExpr *, unsigned>::iterator - I = AddressPool.begin(), - E = AddressPool.end(); + for (DenseMap<const MCExpr *, unsigned>::iterator I = AddressPool.begin(), + E = AddressPool.end(); I != E; ++I) Entries[I->second] = I->first; |