reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
62 uint8_t getAddrSize() const { return HeaderData.AddrSize; } 89 void invalidateLength() { HeaderData.Length = 0; }lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
16 HeaderData = {}; 46 HeaderData.Length = Data.getU32(OffsetPtr); 47 if (HeaderData.Length == dwarf::DW_LENGTH_DWARF64) { 53 if (HeaderData.Length + sizeof(uint32_t) < sizeof(Header)) { 72 HeaderData.Version = Data.getU16(OffsetPtr); 73 HeaderData.AddrSize = Data.getU8(OffsetPtr); 74 HeaderData.SegSize = Data.getU8(OffsetPtr); 77 HeaderData.Version = UnitVersion; 78 HeaderData.AddrSize = AddrSize; 80 HeaderData.SegSize = 0; 89 if (HeaderData.Version > 5) { 92 HeaderData.Version, HeaderOffset); 98 if (HeaderData.Version != UnitVersion) 104 HeaderOffset, HeaderData.Version, UnitVersion); 105 if (HeaderData.AddrSize != 4 && HeaderData.AddrSize != 8) 105 if (HeaderData.AddrSize != 4 && HeaderData.AddrSize != 8) 109 HeaderOffset, HeaderData.AddrSize); 110 if (HeaderData.AddrSize != AddrSize && AddrSize != 0) 115 HeaderOffset, HeaderData.AddrSize, AddrSize); 118 if (HeaderData.SegSize != 0) 122 HeaderOffset, HeaderData.SegSize); 123 if (DataSize % HeaderData.AddrSize != 0) { 129 HeaderOffset, DataSize, HeaderData.AddrSize); 131 Data.setAddressSize(HeaderData.AddrSize); 132 uint32_t AddrCount = DataSize / HeaderData.AddrSize; 134 if (HeaderData.AddrSize == 4) 147 HeaderData.Length, HeaderData.Version, HeaderData.AddrSize, 147 HeaderData.Length, HeaderData.Version, HeaderData.AddrSize, 147 HeaderData.Length, HeaderData.Version, HeaderData.AddrSize, 148 HeaderData.SegSize); 151 const char *AddrFmt = (HeaderData.AddrSize == 4) ? "0x%8.8" PRIx64 "\n" 170 if (HeaderData.Length == 0) 173 return HeaderData.Length + sizeof(uint32_t);