#include "DWARFLinkerTypeUnit.h"
#include "DIEGenerator.h"
#include "DWARFEmitterImpl.h"
#include "llvm/Support/LEB128.h"
usingnamespacellvm;
usingnamespacedwarf_linker;
usingnamespacedwarf_linker::parallel;
TypeUnit::TypeUnit(LinkingGlobalData &GlobalData, unsigned ID,
std::optional<uint16_t> Language, dwarf::FormParams Format,
endianness Endianess)
: … { … }
void TypeUnit::createDIETree(BumpPtrAllocator &Allocator) { … }
void TypeUnit::prepareDataForTreeCreation() { … }
uint64_t TypeUnit::finalizeTypeEntryRec(uint64_t OutOffset, DIE *OutDIE,
TypeEntry *Entry) { … }
uint32_t TypeUnit::addFileNameIntoLinetable(StringEntry *Dir,
StringEntry *FileName) { … }
std::pair<dwarf::Form, uint8_t>
TypeUnit::getScalarFormForValue(uint64_t Value) const { … }
uint8_t TypeUnit::getSizeByAttrForm(dwarf::Form Form) const { … }
Error TypeUnit::finishCloningAndEmit(const Triple &TargetTriple) { … }