reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/DataExtractor.h
  398   uint32_t getU32(uint64_t *offset_ptr, Error *Err = nullptr) const;

References

include/llvm/Support/DataExtractor.h
  403   uint32_t getU32(Cursor &C) const { return getU32(&C.Offset, &C.Err); }
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
   52   Hdr.Magic = AccelSection.getU32(&Offset);
   55   Hdr.BucketCount = AccelSection.getU32(&Offset);
   56   Hdr.HashCount = AccelSection.getU32(&Offset);
   57   Hdr.HeaderDataLength = AccelSection.getU32(&Offset);
   69   HdrData.DIEOffsetBase = AccelSection.getU32(&Offset);
   70   uint32_t NumAtoms = AccelSection.getU32(&Offset);
  181   unsigned NumData = AccelSection.getU32(DataOffset);
  231     unsigned Index = AccelSection.getU32(&Offset);
  242       uint32_t Hash = AccelSection.getU32(&HashOffset);
  247       uint64_t DataOffset = AccelSection.getU32(&OffsetsOffset);
  311   NumData = AccelTable.AccelSection.getU32(&DataOffset);
  341   unsigned Index = AccelSection.getU32(&BucketOffset);
  347     uint32_t Hash = AccelSection.getU32(&HashOffset);
  353     uint64_t DataOffset = AccelSection.getU32(&OffsetsOffset);
  386   UnitLength = AS.getU32(Offset);
  389   CompUnitCount = AS.getU32(Offset);
  390   LocalTypeUnitCount = AS.getU32(Offset);
  391   ForeignTypeUnitCount = AS.getU32(Offset);
  392   BucketCount = AS.getU32(Offset);
  393   NameCount = AS.getU32(Offset);
  394   AbbrevTableSize = AS.getU32(Offset);
  395   AugmentationStringSize = alignTo(AS.getU32(Offset), 4);
  633   uint64_t EntryOffset = AS.getU32(&EntryOffsetOffset);
  642   return Section.AccelSection.getU32(&BucketOffset);
  648   return Section.AccelSection.getU32(&HashOffset);
lib/DebugInfo/DWARF/DWARFContext.cpp
  232       uint64_t StringOffset = strOffsetExt.getU32(&offset);
lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
   46     HeaderData.Length = Data.getU32(OffsetPtr);
  135       Addrs.push_back(Data.getU32(OffsetPtr));
lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
   52     HeaderData.Length = data.getU32(offset_ptr);
   54     HeaderData.CuOffset = data.getU32(offset_ptr);
lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
   31     SetData.Length = PubNames.getU32(&Offset);
   34     SetData.Size = PubNames.getU32(&Offset);
   37       uint32_t DieRef = PubNames.getU32(&Offset);
lib/DebugInfo/DWARF/DWARFExpression.cpp
  150       Operands[Operand] = Data.getU32(&Offset);
  161         Operands[Operand] = Data.getU32(&Offset);
  171         Operands[Operand] = Data.getU32(&Offset);
lib/DebugInfo/DWARF/DWARFFormValue.cpp
  133       uint32_t size = DebugInfoData.getU32(OffsetPtr);
  273       Value.uval = Data.getU32(OffsetPtr);
lib/DebugInfo/DWARF/DWARFGdbIndex.cpp
  118   Version = Data.getU32(&Offset);
  122   CuListOffset = Data.getU32(&Offset);
  123   TuListOffset = Data.getU32(&Offset);
  124   AddressAreaOffset = Data.getU32(&Offset);
  125   SymbolTableOffset = Data.getU32(&Offset);
  126   ConstantPoolOffset = Data.getU32(&Offset);
  155     uint32_t CuIndex = Data.getU32(&Offset);
  171     uint32_t NameOffset = Data.getU32(&Offset);
  172     uint32_t CuVecOffset = Data.getU32(&Offset);
  186     uint32_t Num = Data.getU32(&Offset);
  188       Vec.second.push_back(Data.getU32(&Offset));
lib/DebugInfo/DWARF/DWARFListTable.cpp
   59   HeaderData.OffsetEntryCount = Data.getU32(OffsetPtr);
lib/DebugInfo/DWARF/DWARFUnit.cpp
  798   if (DA.getU32(&Offset) != dwarf::DW_LENGTH_DWARF64)
  816   uint32_t ContributionSize = DA.getU32(&Offset);
lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
   24   Version = IndexData.getU32(OffsetPtr);
   25   NumColumns = IndexData.getU32(OffsetPtr);
   26   NumUnits = IndexData.getU32(OffsetPtr);
   27   NumBuckets = IndexData.getU32(OffsetPtr);
   68     auto Index = IndexData.getU32(&Offset);
   79     ColumnKinds[i] = static_cast<DWARFSectionKind>(IndexData.getU32(&Offset));
   94       Contrib[i].Offset = IndexData.getU32(&Offset);
  101       Contrib[i].Length = IndexData.getU32(&Offset);
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  115   Length = DebugInfoData.getU32(Offset);
  125     AbbrOffset = isUnitDWARF64 ? DebugInfoData.getU64(Offset) : DebugInfoData.getU32(Offset);
  129     AbbrOffset = isUnitDWARF64 ? DebugInfoData.getU64(Offset) : DebugInfoData.getU32(Offset);
  839     uint32_t HashIdx = AccelSectionData.getU32(&BucketsOffset);
  859     uint32_t Hash = AccelSectionData.getU32(&HashOffset);
  860     uint64_t HashDataOffset = AccelSectionData.getU32(&DataOffset);
  874     while ((StrpOffset = AccelSectionData.getU32(&HashDataOffset)) != 0) {
  876           AccelSectionData.getU32(&HashDataOffset);
lib/DebugInfo/GSYM/FunctionInfo.cpp
   40   FI.Range.End = FI.Range.Start + Data.getU32(&Offset);
   44   FI.Name = Data.getU32(&Offset);
   54     const uint32_t IT = Data.getU32(&Offset);
   58     const uint32_t InfoLength = Data.getU32(&Offset);
lib/DebugInfo/GSYM/GsymReader.cpp
  182     const uint32_t NumFiles = Data.getU32(&Offset);
lib/DebugInfo/GSYM/Header.cpp
   71   H.Magic = Data.getU32(&Offset);
   76   H.NumAddresses = Data.getU32(&Offset);
   77   H.StrtabOffset = Data.getU32(&Offset);
   78   H.StrtabSize = Data.getU32(&Offset);
lib/DebugInfo/GSYM/InlineInfo.cpp
   90   Inline.Name = Data.getU32(&Offset);
lib/DebugInfo/Symbolize/Symbolize.cpp
  268           CRCHash = DE.getU32(&Offset);
lib/Support/DataExtractor.cpp
  132     return getU32(offset_ptr, Err);
  147     return (int32_t)getU32(offset_ptr);
lib/XRay/FileHeaderReader.cpp
   45   uint32_t Bitfield = HeaderExtractor.getU32(&OffsetPtr);
lib/XRay/Profile.cpp
   55   H.Size = Extractor.getU32(&Offset);
   62   H.Number = Extractor.getU32(&Offset);
lib/XRay/RecordInitializer.cpp
   46   R.Nanos = E.getU32(&OffsetPtr);
  395   uint32_t Buffer = E.getU32(&OffsetPtr);
  421   R.Delta = E.getU32(&OffsetPtr);
lib/XRay/Trace.cpp
  135       Record.TId = Reader.getU32(&OffsetPtr);
  142       Record.PId = Reader.getU32(&OffsetPtr);
  165       auto TId = Reader.getU32(&OffsetPtr);
  172       auto PId = Reader.getU32(&OffsetPtr);
tools/dsymutil/DwarfLinker.cpp
 2026     uint32_t InitialLength = Data.getU32(&InputOffset);
 2030     uint32_t CIEId = Data.getU32(&InputOffset);
tools/dsymutil/DwarfStreamer.cpp
  610   unsigned UnitLength = Data.getU32(&Offset);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  862   uint64_t stringOffset = infoData.getU32(&infoOffset);
  881   uint32_t length = infoData.getU32(&offset);
  895   infoData.getU32(&offset); // Abbrev offset (should be zero)
tools/llvm-dwp/llvm-dwp.cpp
   91     auto OldOffset = Data.getU32(&Offset);
  130   uint64_t StrOffset = StrOffsetsData.getU32(&StrOffsetsOffset);
  142   uint64_t Length = InfoData.getU32(&Offset);
  150   InfoData.getU32(&Offset); // Abbrev offset (should be zero)
  263       C.Length = Data.getU32(&Offset) + 4;
  266       Data.getU32(&Offset); // Abbrev offset
tools/obj2yaml/dwarf2yaml.cpp
   21   InitialLength.TotalLength = Data.getU32(&Offset);
   89   Y.UnitOffset = PubSectionData.getU32(&Offset);
   90   Y.UnitSize = PubSectionData.getU32(&Offset);
   93     NewEntry.DieOffset = PubSectionData.getU32(&Offset);
unittests/DebugInfo/GSYM/GSYMTest.cpp
  717   EXPECT_EQ(Data.getU32(&Offset), U32);
  720   EXPECT_EQ(Data.getU32(&Offset), U32);
unittests/Support/DataExtractorTest.cpp
   36   EXPECT_EQ(0x8090FFFFU, DE.getU32(&offset));
   58   EXPECT_EQ(0xFFFF9080U, DE.getU32(&offset));