diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 179db395d383..cbe0fc8fbab6 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -195,16 +195,6 @@ public: DIType getType() const; }; - -// A String->Symbol mapping of strings used by indirect -// references. -typedef StringMap, - BumpPtrAllocator&> StrPool; - -// A Symbol->unsigned mapping of addresses used by indirect -// references. -typedef DenseMap AddrPool; - /// \brief Collects and handles information specific to a particular /// collection of units. class DwarfUnits { @@ -221,11 +211,18 @@ class DwarfUnits { SmallVector CUs; // Collection of strings for this unit and assorted symbols. + // A String->Symbol mapping of strings used by indirect + // references. + typedef StringMap, + BumpPtrAllocator&> StrPool; StrPool StringPool; unsigned NextStringPoolNumber; std::string StringPref; // Collection of addresses for this unit and assorted labels. + // A Symbol->unsigned mapping of addresses used by indirect + // references. + typedef DenseMap AddrPool; AddrPool AddressPool; unsigned NextAddrPoolNumber;