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

Declarations

include/llvm/Support/DataExtractor.h
  522   uint64_t getULEB128(uint64_t *offset_ptr, llvm::Error *Err = nullptr) const;

References

include/llvm/Support/DataExtractor.h
  527   uint64_t getULEB128(Cursor &C) const { return getULEB128(&C.Offset, &C.Err); }
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
   44   Code = Data.getULEB128(OffsetPtr);
   49   Tag = static_cast<llvm::dwarf::Tag>(Data.getULEB128(OffsetPtr));
   63     auto A = static_cast<Attribute>(Data.getULEB128(OffsetPtr));
   64     auto F = static_cast<Form>(Data.getULEB128(OffsetPtr));
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
  446   uint32_t Index = Section.AccelSection.getULEB128(Offset);
  447   uint32_t Form = Section.AccelSection.getULEB128(Offset);
  472   uint32_t Code = Section.AccelSection.getULEB128(Offset);
  476   uint32_t Tag = Section.AccelSection.getULEB128(Offset);
  606   uint32_t AbbrevCode = AS.getULEB128(Offset);
lib/DebugInfo/DWARF/DWARFDataExtractor.cpp
   56     Result = getULEB128(Offset);
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
   58         addInstruction(Primary, Op1, Data.getULEB128(Offset));
   98         addInstruction(Opcode, Data.getULEB128(Offset));
  112         auto op1 = Data.getULEB128(Offset);
  113         auto op2 = Data.getULEB128(Offset);
  122           auto op1 = Data.getULEB128(Offset);
  128           uint32_t ExprLength = Data.getULEB128(Offset);
  140           auto RegNum = Data.getULEB128(Offset);
  141           auto BlockLength = Data.getULEB128(Offset);
  395       uint64_t CodeAlignmentFactor = Data.getULEB128(&Offset);
  398           Version == 1 ? Data.getU8(&Offset) : Data.getULEB128(&Offset);
  443               AugmentationLength = Data.getULEB128(&Offset);
  498           uint64_t AugmentationLength = Data.getULEB128(&Offset);
lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
   35   uint64_t AbbrCode = DebugInfoData.getULEB128(OffsetPtr);
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  178     FileEntry.DirIdx = DebugLineData.getULEB128(OffsetPtr);
  179     FileEntry.ModTime = DebugLineData.getULEB128(OffsetPtr);
  180     FileEntry.Length = DebugLineData.getULEB128(OffsetPtr);
  209       dwarf::LineNumberEntryFormat(DebugLineData.getULEB128(OffsetPtr));
  210     Descriptor.Form = dwarf::Form(DebugLineData.getULEB128(OffsetPtr));
  575       uint64_t Len = DebugLineData.getULEB128(OffsetPtr);
  658           FileEntry.DirIdx = DebugLineData.getULEB128(OffsetPtr);
  659           FileEntry.ModTime = DebugLineData.getULEB128(OffsetPtr);
  660           FileEntry.Length = DebugLineData.getULEB128(OffsetPtr);
  670         State.Row.Discriminator = DebugLineData.getULEB128(OffsetPtr);
  714               DebugLineData.getULEB128(OffsetPtr) * Prologue.MinInstLength;
  732         State.Row.File = DebugLineData.getULEB128(OffsetPtr);
  740         State.Row.Column = DebugLineData.getULEB128(OffsetPtr);
  814         State.Row.Isa = DebugLineData.getULEB128(OffsetPtr);
  827             uint64_t Value = DebugLineData.getULEB128(OffsetPtr);
lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
   61     E.Type = data.getULEB128(&Offset);
   78       E.Line = data.getULEB128(&Offset);
   84       E.Line = data.getULEB128(&Offset);
   86       E.File = data.getULEB128(&Offset);
   92       E.ExtConstant = data.getULEB128(&Offset);
lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
   36     Value0 = Data.getULEB128(OffsetPtr);
   52     Value0 = Data.getULEB128(OffsetPtr);
   53     Value1 = Data.getULEB128(OffsetPtr);
   64     Value0 = Data.getULEB128(OffsetPtr);
   65     Value1 = Data.getULEB128(OffsetPtr);
   96     Value1 = Data.getULEB128(OffsetPtr);
lib/DebugInfo/DWARF/DWARFDie.cpp
  580     uint32_t abbrCode = debug_info_data.getULEB128(&offset);
lib/DebugInfo/DWARF/DWARFExpression.cpp
  181         Operands[Operand] = Data.getULEB128(&Offset);
  184       Operands[Operand] = Data.getULEB128(&Offset);
lib/DebugInfo/DWARF/DWARFFormValue.cpp
  118       uint64_t size = DebugInfoData.getULEB128(OffsetPtr);
  191       DebugInfoData.getULEB128(OffsetPtr);
  196       Form = static_cast<dwarf::Form>(DebugInfoData.getULEB128(OffsetPtr));
  261       Value.uval = Data.getULEB128(OffsetPtr);
  315       Value.uval = Data.getULEB128(OffsetPtr);
  321       Form = static_cast<dwarf::Form>(Data.getULEB128(OffsetPtr));
  344       Value.uval = Data.getULEB128(OffsetPtr);
lib/DebugInfo/GSYM/InlineInfo.cpp
   94   Inline.CallFile = (uint32_t)Data.getULEB128(&Offset);
   98   Inline.CallLine = (uint32_t)Data.getULEB128(&Offset);
lib/DebugInfo/GSYM/LineTable.cpp
   69   const uint32_t FirstLine = (uint32_t)Data.getULEB128(&Offset);
   86       Row.File = (uint32_t)Data.getULEB128(&Offset);
   93       Row.Addr += Data.getULEB128(&Offset);
lib/DebugInfo/GSYM/Range.cpp
   78   const uint64_t AddrOffset = Data.getULEB128(&Offset);
   79   const uint64_t Size = Data.getULEB128(&Offset);
   96   uint64_t NumRanges = Data.getULEB128(&Offset);
lib/Object/MachOObjectFile.cpp
 4625   while (uint64_t delta = extractor.getULEB128(&offset)) {
tools/dsymutil/DwarfStreamer.cpp
  665     Asm->EmitULEB128(Data.getULEB128(&Offset));
  666     Asm->EmitULEB128(Data.getULEB128(&Offset));
  667     Asm->EmitULEB128(Data.getULEB128(&Offset));
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  839   while ((curCode = abbrevData.getULEB128(&offset)) != abbrCode) {
  841     abbrevData.getULEB128(&offset);
  845     while (abbrevData.getULEB128(&offset) | abbrevData.getULEB128(&offset))
  845     while (abbrevData.getULEB128(&offset) | abbrevData.getULEB128(&offset))
  898   uint32_t abbrCode = infoData.getULEB128(&offset);
  901   uint64_t tag = abbrevData.getULEB128(&abbrevOffset);
  910   while ((name = abbrevData.getULEB128(&abbrevOffset)) |
  912              abbrevData.getULEB128(&abbrevOffset))) &&
tools/llvm-dwp/llvm-dwp.cpp
  101   while ((CurCode = AbbrevData.getULEB128(&Offset)) != AbbrCode) {
  103     AbbrevData.getULEB128(&Offset);
  107     while (AbbrevData.getULEB128(&Offset) | AbbrevData.getULEB128(&Offset))
  107     while (AbbrevData.getULEB128(&Offset) | AbbrevData.getULEB128(&Offset))
  127   auto StrIndex = InfoData.getULEB128(&InfoOffset);
  153   uint32_t AbbrCode = InfoData.getULEB128(&Offset);
  157   auto Tag = static_cast<dwarf::Tag>(AbbrevData.getULEB128(&AbbrevOffset));
  166   while ((Name = AbbrevData.getULEB128(&AbbrevOffset)) |
  167          (Form = static_cast<dwarf::Form>(AbbrevData.getULEB128(&AbbrevOffset))) &&
tools/llvm-readobj/ELFDumper.cpp
 4749   uint64_t StackSize = Data.getULEB128(Offset);
tools/obj2yaml/dwarf2yaml.cpp
  134       NewEntry.AbbrCode = EntryData.getULEB128(&offset);
  234   File.DirIdx = Data.getULEB128(&Offset);
  235   File.ModTime = Data.getULEB128(&Offset);
  236   File.Length = Data.getULEB128(&Offset);
  294           NewOp.ExtLen = LineData.getULEB128(&Offset);
  325             NewOp.Data = LineData.getULEB128(&Offset);
  339               NewOp.StandardOpcodeData.push_back(LineData.getULEB128(&Offset));
unittests/DebugInfo/GSYM/GSYMTest.cpp
  723   EXPECT_EQ(Data.getULEB128(&Offset), MinULEB);
  724   EXPECT_EQ(Data.getULEB128(&Offset), MaxULEB);
unittests/Support/DataExtractorTest.cpp
  105   EXPECT_EQ(9382ULL, DE.getULEB128(&offset));
  113   EXPECT_EQ(42218325750568106ULL, BDE.getULEB128(&offset));
  123   EXPECT_EQ(0U, DE.getULEB128(&Offset));