Lines Matching refs:AddrSize
144 uint8_t AddrSize; in emitDebugAranges() local
145 if (Range.AddrSize) in emitDebugAranges()
146 AddrSize = *Range.AddrSize; in emitDebugAranges()
148 AddrSize = DI.Is64BitAddrSize ? 8 : 4; in emitDebugAranges()
159 const uint64_t PaddedHeaderLength = alignTo(HeaderLength, AddrSize * 2); in emitDebugAranges()
165 Length += AddrSize * 2 * (Range.Descriptors.size() + 1); in emitDebugAranges()
171 writeInteger((uint8_t)AddrSize, OS, DI.IsLittleEndian); in emitDebugAranges()
176 if (Error Err = writeVariableSizedInteger(Descriptor.Address, AddrSize, in emitDebugAranges()
181 cantFail(writeVariableSizedInteger(Descriptor.Length, AddrSize, OS, in emitDebugAranges()
184 ZeroFillBytes(OS, AddrSize * 2); in emitDebugAranges()
205 uint8_t AddrSize; in emitDebugRanges() local
206 if (DebugRanges.AddrSize) in emitDebugRanges()
207 AddrSize = *DebugRanges.AddrSize; in emitDebugRanges()
209 AddrSize = DI.Is64BitAddrSize ? 8 : 4; in emitDebugRanges()
211 if (Error Err = writeVariableSizedInteger(Entry.LowOffset, AddrSize, OS, in emitDebugRanges()
217 cantFail(writeVariableSizedInteger(Entry.HighOffset, AddrSize, OS, in emitDebugRanges()
220 ZeroFillBytes(OS, AddrSize * 2); in emitDebugRanges()
305 FormVal->Value, Params.AddrSize, OS, IsLittleEndian)) in writeDIE()
410 uint8_t AddrSize; in emitDebugInfo() local
411 if (Unit.AddrSize) in emitDebugInfo()
412 AddrSize = *Unit.AddrSize; in emitDebugInfo()
414 AddrSize = DI.Is64BitAddrSize ? 8 : 4; in emitDebugInfo()
415 dwarf::FormParams Params = {Unit.Version, AddrSize, Unit.Format}; in emitDebugInfo()
462 writeInteger((uint8_t)AddrSize, OS, DI.IsLittleEndian); in emitDebugInfo()
466 writeInteger((uint8_t)AddrSize, OS, DI.IsLittleEndian); in emitDebugInfo()
484 uint8_t AddrSize, bool IsLittleEndian, in writeExtendedOpcode() argument
496 cantFail(writeVariableSizedInteger(Op.Data, AddrSize, OpBufferOS, in writeExtendedOpcode()
517 uint8_t OpcodeBase, uint8_t AddrSize, in writeLineTableOpcode() argument
521 writeExtendedOpcode(Op, AddrSize, IsLittleEndian, OS); in writeLineTableOpcode()
633 uint8_t AddrSize; in emitDebugAddr() local
634 if (TableEntry.AddrSize) in emitDebugAddr()
635 AddrSize = *TableEntry.AddrSize; in emitDebugAddr()
637 AddrSize = DI.Is64BitAddrSize ? 8 : 4; in emitDebugAddr()
644 Length = 4 + (AddrSize + TableEntry.SegSelectorSize) * in emitDebugAddr()
649 writeInteger((uint8_t)AddrSize, OS, DI.IsLittleEndian); in emitDebugAddr()
660 if (AddrSize != 0) in emitDebugAddr()
661 if (Error Err = writeVariableSizedInteger(Pair.Address, AddrSize, OS, in emitDebugAddr()
708 uint64_t Addr, uint8_t AddrSize, in writeListEntryAddress() argument
710 if (Error Err = writeVariableSizedInteger(Addr, AddrSize, OS, IsLittleEndian)) in writeListEntryAddress()
722 uint8_t AddrSize, bool IsLittleEndian) { in writeDWARFExpression() argument
754 uint8_t AddrSize, in writeListEntry() argument
766 return writeListEntryAddress(EncodingName, OS, Addr, AddrSize, in writeListEntry()
815 uint8_t AddrSize, in writeListEntry() argument
827 return writeListEntryAddress(EncodingName, OS, Addr, AddrSize, in writeListEntry()
838 writeDWARFExpression(OpBufferOS, Op, AddrSize, IsLittleEndian)) in writeListEntry()
919 uint8_t AddrSize; in writeDWARFLists() local
920 if (Table.AddrSize) in writeDWARFLists()
921 AddrSize = *Table.AddrSize; in writeDWARFLists()
923 AddrSize = Is64BitAddrSize ? 8 : 4; in writeDWARFLists()
945 writeListEntry(ListBufferOS, Entry, AddrSize, IsLittleEndian); in writeDWARFLists()
973 writeInteger((uint8_t)AddrSize, OS, IsLittleEndian); in writeDWARFLists()