#include "AcceleratorRecordsSaver.h"
#include "llvm/DWARFLinker/Utils.h"
#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"
#include "llvm/Support/DJB.h"
usingnamespacellvm;
usingnamespacedwarf_linker;
usingnamespacedwarf_linker::parallel;
static uint32_t hashFullyQualifiedName(CompileUnit &InputCU, DWARFDie &InputDIE,
int ChildRecurseDepth = 0) { … }
void AcceleratorRecordsSaver::save(const DWARFDebugInfoEntry *InputDieEntry,
DIE *OutDIE, AttributesInfo &AttrInfo,
TypeEntry *TypeEntry) { … }
void AcceleratorRecordsSaver::saveObjC(const DWARFDebugInfoEntry *InputDieEntry,
DIE *OutDIE, AttributesInfo &AttrInfo) { … }
void AcceleratorRecordsSaver::saveNameRecord(StringEntry *Name, DIE *OutDIE,
dwarf::Tag Tag,
bool AvoidForPubSections) { … }
void AcceleratorRecordsSaver::saveNamespaceRecord(StringEntry *Name,
DIE *OutDIE, dwarf::Tag Tag,
TypeEntry *TypeEntry) { … }
void AcceleratorRecordsSaver::saveObjCNameRecord(StringEntry *Name, DIE *OutDIE,
dwarf::Tag Tag) { … }
void AcceleratorRecordsSaver::saveTypeRecord(StringEntry *Name, DIE *OutDIE,
dwarf::Tag Tag,
uint32_t QualifiedNameHash,
bool ObjcClassImplementation,
TypeEntry *TypeEntry) { … }