#include "llvm/DebugInfo/LogicalView/Readers/LVDWARFReader.h"
#include "llvm/DebugInfo/DIContext.h"
#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
#include "llvm/DebugInfo/DWARF/DWARFExpression.h"
#include "llvm/DebugInfo/LogicalView/Core/LVLine.h"
#include "llvm/DebugInfo/LogicalView/Core/LVScope.h"
#include "llvm/DebugInfo/LogicalView/Core/LVSymbol.h"
#include "llvm/DebugInfo/LogicalView/Core/LVType.h"
#include "llvm/Object/Error.h"
#include "llvm/Object/MachO.h"
#include "llvm/Support/FormatVariadic.h"
usingnamespacellvm;
usingnamespacellvm::object;
usingnamespacellvm::logicalview;
#define DEBUG_TYPE …
LVElement *LVDWARFReader::createElement(dwarf::Tag Tag) { … }
void LVDWARFReader::processOneAttribute(const DWARFDie &Die,
LVOffset *OffsetPtr,
const AttributeSpec &AttrSpec) { … }
LVScope *LVDWARFReader::processOneDie(const DWARFDie &InputDIE, LVScope *Parent,
DWARFDie &SkeletonDie) { … }
void LVDWARFReader::traverseDieAndChildren(DWARFDie &DIE, LVScope *Parent,
DWARFDie &SkeletonDie) { … }
void LVDWARFReader::processLocationGaps() { … }
void LVDWARFReader::createLineAndFileRecords(
const DWARFDebugLine::LineTable *Lines) { … }
std::string LVDWARFReader::getRegisterName(LVSmall Opcode,
ArrayRef<uint64_t> Operands) { … }
Error LVDWARFReader::createScopes() { … }
void LVDWARFReader::processLocationList(dwarf::Attribute Attr,
const DWARFFormValue &FormValue,
const DWARFDie &Die,
uint64_t OffsetOnEntry,
bool CallSiteLocation) { … }
void LVDWARFReader::processLocationMember(dwarf::Attribute Attr,
const DWARFFormValue &FormValue,
const DWARFDie &Die,
uint64_t OffsetOnEntry) { … }
void LVDWARFReader::updateReference(dwarf::Attribute Attr,
const DWARFFormValue &FormValue) { … }
LVElement *LVDWARFReader::getElementForOffset(LVOffset Offset,
LVElement *Element, bool IsType) { … }
Error LVDWARFReader::loadTargetInfo(const ObjectFile &Obj) { … }
void LVDWARFReader::mapRangeAddress(const ObjectFile &Obj) { … }
void LVDWARFReader::sortScopes() { … }
void LVDWARFReader::print(raw_ostream &OS) const { … }