mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Add names to the header file since they help in documenting the API
(and for consistency). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185585 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1666c6a8c3
commit
3a1812d1fe
@ -229,10 +229,10 @@ class DwarfUnits {
|
|||||||
public:
|
public:
|
||||||
DwarfUnits(AsmPrinter *AP, FoldingSet<DIEAbbrev> *AS,
|
DwarfUnits(AsmPrinter *AP, FoldingSet<DIEAbbrev> *AS,
|
||||||
std::vector<DIEAbbrev *> *A, const char *Pref,
|
std::vector<DIEAbbrev *> *A, const char *Pref,
|
||||||
BumpPtrAllocator &DA) :
|
BumpPtrAllocator &DA)
|
||||||
Asm(AP), AbbreviationsSet(AS), Abbreviations(A),
|
: Asm(AP), AbbreviationsSet(AS), Abbreviations(A), StringPool(DA),
|
||||||
StringPool(DA), NextStringPoolNumber(0), StringPref(Pref),
|
NextStringPoolNumber(0), StringPref(Pref), AddressPool(),
|
||||||
AddressPool(), NextAddrPoolNumber(0) {}
|
NextAddrPoolNumber(0) {}
|
||||||
|
|
||||||
/// \brief Compute the size and offset of a DIE given an incoming Offset.
|
/// \brief Compute the size and offset of a DIE given an incoming Offset.
|
||||||
unsigned computeSizeAndOffset(DIE *Die, unsigned 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
|
/// \brief Emit all of the units to the section listed with the given
|
||||||
/// abbreviation section.
|
/// abbreviation section.
|
||||||
void emitUnits(DwarfDebug *, const MCSection *, const MCSection *,
|
void emitUnits(DwarfDebug *DD, const MCSection *USection,
|
||||||
const MCSymbol *);
|
const MCSection *ASection, const MCSymbol *ASectionSym);
|
||||||
|
|
||||||
/// \brief Emit all of the strings to the section given.
|
/// \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.
|
/// \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.
|
/// \brief Returns the entry into the start of the pool.
|
||||||
MCSymbol *getStringPoolSym();
|
MCSymbol *getStringPoolSym();
|
||||||
@ -273,8 +274,8 @@ public:
|
|||||||
|
|
||||||
/// \brief Returns the index into the address pool with the given
|
/// \brief Returns the index into the address pool with the given
|
||||||
/// label/symbol.
|
/// label/symbol.
|
||||||
unsigned getAddrPoolIndex(const MCExpr *);
|
unsigned getAddrPoolIndex(const MCExpr *Sym);
|
||||||
unsigned getAddrPoolIndex(const MCSymbol *);
|
unsigned getAddrPoolIndex(const MCSymbol *Sym);
|
||||||
|
|
||||||
/// \brief Returns the address pool.
|
/// \brief Returns the address pool.
|
||||||
AddrPool *getAddrPool() { return &AddressPool; }
|
AddrPool *getAddrPool() { return &AddressPool; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user