[llvm] r185585 - Add names to the header file since they help in documenting the API
Eric Christopher
echristo at gmail.com
Wed Jul 3 14:23:59 PDT 2013
Author: echristo
Date: Wed Jul 3 16:23:59 2013
New Revision: 185585
URL: http://llvm.org/viewvc/llvm-project?rev=185585&view=rev
Log:
Add names to the header file since they help in documenting the API
(and for consistency).
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=185585&r1=185584&r2=185585&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Wed Jul 3 16:23:59 2013
@@ -229,10 +229,10 @@ class DwarfUnits {
public:
DwarfUnits(AsmPrinter *AP, FoldingSet<DIEAbbrev> *AS,
std::vector<DIEAbbrev *> *A, const char *Pref,
- BumpPtrAllocator &DA) :
- Asm(AP), AbbreviationsSet(AS), Abbreviations(A),
- StringPool(DA), NextStringPoolNumber(0), StringPref(Pref),
- AddressPool(), NextAddrPoolNumber(0) {}
+ BumpPtrAllocator &DA)
+ : Asm(AP), AbbreviationsSet(AS), Abbreviations(A), StringPool(DA),
+ NextStringPoolNumber(0), StringPref(Pref), AddressPool(),
+ NextAddrPoolNumber(0) {}
/// \brief Compute the size and offset of a DIE given an incoming Offset.
unsigned computeSizeAndOffset(DIE *Die, unsigned Offset);
@@ -248,14 +248,15 @@ public:
/// \brief Emit all of the units to the section listed with the given
/// abbreviation section.
- void emitUnits(DwarfDebug *, const MCSection *, const MCSection *,
- const MCSymbol *);
+ void emitUnits(DwarfDebug *DD, const MCSection *USection,
+ const MCSection *ASection, const MCSymbol *ASectionSym);
/// \brief Emit all of the strings to the section given.
- void emitStrings(const MCSection *, const MCSection *, const MCSymbol *);
+ void emitStrings(const MCSection *StrSection, const MCSection *OffsetSection,
+ const MCSymbol *StrSecSym);
/// \brief Emit all of the addresses to the section given.
- void emitAddresses(const MCSection *);
+ void emitAddresses(const MCSection *AddrSection);
/// \brief Returns the entry into the start of the pool.
MCSymbol *getStringPoolSym();
@@ -273,8 +274,8 @@ public:
/// \brief Returns the index into the address pool with the given
/// label/symbol.
- unsigned getAddrPoolIndex(const MCExpr *);
- unsigned getAddrPoolIndex(const MCSymbol *);
+ unsigned getAddrPoolIndex(const MCExpr *Sym);
+ unsigned getAddrPoolIndex(const MCSymbol *Sym);
/// \brief Returns the address pool.
AddrPool *getAddrPool() { return &AddressPool; }
More information about the llvm-commits
mailing list