#include "llvm/CodeGen/DIE.h"
#include "DwarfCompileUnit.h"
#include "DwarfDebug.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/raw_ostream.h"
usingnamespacellvm;
#define DEBUG_TYPE …
void DIEAbbrevData::Profile(FoldingSetNodeID &ID) const { … }
void DIEAbbrev::Profile(FoldingSetNodeID &ID) const { … }
void DIEAbbrev::Emit(const AsmPrinter *AP) const { … }
LLVM_DUMP_METHOD
void DIEAbbrev::print(raw_ostream &O) const { … }
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void DIEAbbrev::dump() const {
print(dbgs());
}
#endif
DIEAbbrevSet::~DIEAbbrevSet() { … }
DIEAbbrev &DIEAbbrevSet::uniqueAbbreviation(DIE &Die) { … }
void DIEAbbrevSet::Emit(const AsmPrinter *AP, MCSection *Section) const { … }
DIE *DIE::getParent() const { … }
DIEAbbrev DIE::generateAbbrev() const { … }
uint64_t DIE::getDebugSectionOffset() const { … }
const DIE *DIE::getUnitDie() const { … }
DIEUnit *DIE::getUnit() const { … }
DIEValue DIE::findAttribute(dwarf::Attribute Attribute) const { … }
LLVM_DUMP_METHOD
static void printValues(raw_ostream &O, const DIEValueList &Values,
StringRef Type, unsigned Size, unsigned IndentCount) { … }
LLVM_DUMP_METHOD
void DIE::print(raw_ostream &O, unsigned IndentCount) const { … }
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void DIE::dump() const {
print(dbgs());
}
#endif
unsigned DIE::computeOffsetsAndAbbrevs(const dwarf::FormParams &FormParams,
DIEAbbrevSet &AbbrevSet,
unsigned CUOffset) { … }
DIEUnit::DIEUnit(dwarf::Tag UnitTag) : … { … }
void DIEValue::emitValue(const AsmPrinter *AP) const { … }
unsigned DIEValue::sizeOf(const dwarf::FormParams &FormParams) const { … }
LLVM_DUMP_METHOD
void DIEValue::print(raw_ostream &O) const { … }
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void DIEValue::dump() const {
print(dbgs());
}
#endif
void DIEInteger::emitValue(const AsmPrinter *Asm, dwarf::Form Form) const { … }
unsigned DIEInteger::sizeOf(const dwarf::FormParams &FormParams,
dwarf::Form Form) const { … }
LLVM_DUMP_METHOD
void DIEInteger::print(raw_ostream &O) const { … }
void DIEExpr::emitValue(const AsmPrinter *AP, dwarf::Form Form) const { … }
unsigned DIEExpr::sizeOf(const dwarf::FormParams &FormParams,
dwarf::Form Form) const { … }
LLVM_DUMP_METHOD
void DIEExpr::print(raw_ostream &O) const { … }
void DIELabel::emitValue(const AsmPrinter *AP, dwarf::Form Form) const { … }
unsigned DIELabel::sizeOf(const dwarf::FormParams &FormParams,
dwarf::Form Form) const { … }
LLVM_DUMP_METHOD
void DIELabel::print(raw_ostream &O) const { … }
void DIEBaseTypeRef::emitValue(const AsmPrinter *AP, dwarf::Form Form) const { … }
unsigned DIEBaseTypeRef::sizeOf(const dwarf::FormParams &, dwarf::Form) const { … }
LLVM_DUMP_METHOD
void DIEBaseTypeRef::print(raw_ostream &O) const { … }
void DIEDelta::emitValue(const AsmPrinter *AP, dwarf::Form Form) const { … }
unsigned DIEDelta::sizeOf(const dwarf::FormParams &FormParams,
dwarf::Form Form) const { … }
LLVM_DUMP_METHOD
void DIEDelta::print(raw_ostream &O) const { … }
void DIEString::emitValue(const AsmPrinter *AP, dwarf::Form Form) const { … }
unsigned DIEString::sizeOf(const dwarf::FormParams &FormParams,
dwarf::Form Form) const { … }
LLVM_DUMP_METHOD
void DIEString::print(raw_ostream &O) const { … }
void DIEInlineString::emitValue(const AsmPrinter *AP, dwarf::Form Form) const { … }
unsigned DIEInlineString::sizeOf(const dwarf::FormParams &, dwarf::Form) const { … }
LLVM_DUMP_METHOD
void DIEInlineString::print(raw_ostream &O) const { … }
void DIEEntry::emitValue(const AsmPrinter *AP, dwarf::Form Form) const { … }
unsigned DIEEntry::sizeOf(const dwarf::FormParams &FormParams,
dwarf::Form Form) const { … }
LLVM_DUMP_METHOD
void DIEEntry::print(raw_ostream &O) const { … }
unsigned DIELoc::computeSize(const dwarf::FormParams &FormParams) const { … }
void DIELoc::emitValue(const AsmPrinter *Asm, dwarf::Form Form) const { … }
unsigned DIELoc::sizeOf(const dwarf::FormParams &, dwarf::Form Form) const { … }
LLVM_DUMP_METHOD
void DIELoc::print(raw_ostream &O) const { … }
unsigned DIEBlock::computeSize(const dwarf::FormParams &FormParams) const { … }
void DIEBlock::emitValue(const AsmPrinter *Asm, dwarf::Form Form) const { … }
unsigned DIEBlock::sizeOf(const dwarf::FormParams &, dwarf::Form Form) const { … }
LLVM_DUMP_METHOD
void DIEBlock::print(raw_ostream &O) const { … }
unsigned DIELocList::sizeOf(const dwarf::FormParams &FormParams,
dwarf::Form Form) const { … }
void DIELocList::emitValue(const AsmPrinter *AP, dwarf::Form Form) const { … }
LLVM_DUMP_METHOD
void DIELocList::print(raw_ostream &O) const { … }
unsigned DIEAddrOffset::sizeOf(const dwarf::FormParams &FormParams,
dwarf::Form) const { … }
void DIEAddrOffset::emitValue(const AsmPrinter *AP, dwarf::Form Form) const { … }
LLVM_DUMP_METHOD
void DIEAddrOffset::print(raw_ostream &O) const { … }