Home
last modified time | relevance | path

Searched refs:getULEB128 (Results 1 – 25 of 40) sorted by relevance

12

/external/libunwind_llvm/src/
DDwarfParser.hpp153 pint_t augLen = (pint_t)addressSpace.getULEB128(p, nextCFI); in decodeFDE()
220 pint_t augLen = (pint_t)addressSpace.getULEB128(p, nextCFI); in findFDE()
300 cieInfo->codeAlignFactor = (uint32_t)addressSpace.getULEB128(p, cieContentEnd); in parseCIE()
304 uint64_t raReg = addressSpace.getULEB128(p, cieContentEnd); in parseCIE()
311 addressSpace.getULEB128(p, cieContentEnd); in parseCIE()
426 reg = addressSpace.getULEB128(p, instructionsEnd); in parseInstructions()
427 offset = (int64_t)addressSpace.getULEB128(p, instructionsEnd) in parseInstructions()
441 reg = addressSpace.getULEB128(p, instructionsEnd); in parseInstructions()
451 reg = addressSpace.getULEB128(p, instructionsEnd); in parseInstructions()
461 reg = addressSpace.getULEB128(p, instructionsEnd); in parseInstructions()
[all …]
DDwarfInstructions.hpp256 pint_t length = (pint_t)addressSpace.getULEB128(p, expressionEnd); in evaluateExpression()
367 value = (pint_t)addressSpace.getULEB128(p, expressionEnd); in evaluateExpression()
516 *sp += static_cast<pint_t>(addressSpace.getULEB128(p, expressionEnd)); in evaluateExpression()
686 reg = static_cast<uint32_t>(addressSpace.getULEB128(p, expressionEnd)); in evaluateExpression()
733 reg = static_cast<uint32_t>(addressSpace.getULEB128(p, expressionEnd)); in evaluateExpression()
DAddressSpace.hpp218 static uint64_t getULEB128(pint_t &addr, pint_t end);
248 inline uint64_t LocalAddressSpace::getULEB128(pint_t &addr, pint_t end) { in getULEB128() function in libunwind::LocalAddressSpace
308 result = (pint_t)getULEB128(addr, end); in getEncodedP()
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFDebugLine.cpp169 fileEntry.DirIdx = debug_line_data.getULEB128(offset_ptr); in parsePrologue()
170 fileEntry.ModTime = debug_line_data.getULEB128(offset_ptr); in parsePrologue()
171 fileEntry.Length = debug_line_data.getULEB128(offset_ptr); in parsePrologue()
211 uint64_t len = debug_line_data.getULEB128(offset_ptr); in parseStatementTable()
263 fileEntry.DirIdx = debug_line_data.getULEB128(offset_ptr); in parseStatementTable()
264 fileEntry.ModTime = debug_line_data.getULEB128(offset_ptr); in parseStatementTable()
265 fileEntry.Length = debug_line_data.getULEB128(offset_ptr); in parseStatementTable()
290 state.Address += debug_line_data.getULEB128(offset_ptr) * in parseStatementTable()
303 state.File = debug_line_data.getULEB128(offset_ptr); in parseStatementTable()
309 state.Column = debug_line_data.getULEB128(offset_ptr); in parseStatementTable()
[all …]
DDWARFDebugInfoEntry.cpp29 uint64_t abbrCode = debug_info_data.getULEB128(&offset); in dump()
102 uint64_t abbrCode = debug_info_data.getULEB128(offset_ptr); in extractFast()
130 form_size = debug_info_data.getULEB128(&offset); in extractFast()
183 debug_info_data.getULEB128(&offset); in extractFast()
188 form = debug_info_data.getULEB128(&offset); in extractFast()
220 uint64_t abbrCode = debug_info_data.getULEB128(&offset); in extract()
255 form_size = debug_info_data.getULEB128(&offset); in extract()
311 debug_info_data.getULEB128(&offset); in extract()
315 form = debug_info_data.getULEB128(&offset); in extract()
356 debug_info_data.getULEB128(&offset); in getAttributeValue()
DDWARFAbbreviationDeclaration.cpp19 return extract(data, offset_ptr, data.getULEB128(offset_ptr)); in extract()
28 Tag = data.getULEB128(offset_ptr); in extract()
32 uint16_t attr = data.getULEB128(offset_ptr); in extract()
33 uint16_t form = data.getULEB128(offset_ptr); in extract()
DDWARFFormValue.cpp97 Value.uval = data.getULEB128(offset_ptr); in extractValue()
137 Value.uval = data.getULEB128(offset_ptr); in extractValue()
147 Form = data.getULEB128(offset_ptr); in extractValue()
183 uint64_t size = debug_info_data.getULEB128(offset_ptr); in skipValue()
245 debug_info_data.getULEB128(offset_ptr); in skipValue()
250 form = debug_info_data.getULEB128(offset_ptr); in skipValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugMacro.cpp62 E.Type = data.getULEB128(&Offset); in parse()
79 E.Line = data.getULEB128(&Offset); in parse()
85 E.Line = data.getULEB128(&Offset); in parse()
87 E.File = data.getULEB128(&Offset); in parse()
93 E.ExtConstant = data.getULEB128(&Offset); in parse()
DDWARFDebugFrame.cpp58 addInstruction(Primary, Op1, Data.getULEB128(Offset)); in parse()
98 addInstruction(Opcode, Data.getULEB128(Offset)); in parse()
112 auto op1 = Data.getULEB128(Offset); in parse()
113 auto op2 = Data.getULEB128(Offset); in parse()
122 auto op1 = Data.getULEB128(Offset); in parse()
128 uint32_t ExprLength = Data.getULEB128(Offset); in parse()
140 auto RegNum = Data.getULEB128(Offset); in parse()
141 auto BlockLength = Data.getULEB128(Offset); in parse()
396 uint64_t CodeAlignmentFactor = Data.getULEB128(&Offset); in parse()
398 uint64_t ReturnAddressRegister = Data.getULEB128(&Offset); in parse()
[all …]
DDWARFAbbreviationDeclaration.cpp45 Code = Data.getULEB128(OffsetPtr); in extract()
50 Tag = static_cast<llvm::dwarf::Tag>(Data.getULEB128(OffsetPtr)); in extract()
64 auto A = static_cast<Attribute>(Data.getULEB128(OffsetPtr)); in extract()
65 auto F = static_cast<Form>(Data.getULEB128(OffsetPtr)); in extract()
DDWARFDebugLine.cpp159 FileEntry.DirIdx = DebugLineData.getULEB128(OffsetPtr); in parseV2DirFileTables()
160 FileEntry.ModTime = DebugLineData.getULEB128(OffsetPtr); in parseV2DirFileTables()
161 FileEntry.Length = DebugLineData.getULEB128(OffsetPtr); in parseV2DirFileTables()
184 dwarf::LineNumberEntryFormat(DebugLineData.getULEB128(OffsetPtr)); in parseV5EntryFormat()
185 Descriptor.Form = dwarf::Form(DebugLineData.getULEB128(OffsetPtr)); in parseV5EntryFormat()
533 uint64_t Len = DebugLineData.getULEB128(OffsetPtr); in parse()
614 FileEntry.DirIdx = DebugLineData.getULEB128(OffsetPtr); in parse()
615 FileEntry.ModTime = DebugLineData.getULEB128(OffsetPtr); in parse()
616 FileEntry.Length = DebugLineData.getULEB128(OffsetPtr); in parse()
626 State.Row.Discriminator = DebugLineData.getULEB128(OffsetPtr); in parse()
[all …]
DDWARFFormValue.cpp91 uint64_t size = DebugInfoData.getULEB128(OffsetPtr); in skipValue()
164 DebugInfoData.getULEB128(OffsetPtr); in skipValue()
169 Form = static_cast<dwarf::Form>(DebugInfoData.getULEB128(OffsetPtr)); in skipValue()
230 Value.uval = Data.getULEB128(OffsetPtr); in extractValue()
284 Value.uval = Data.getULEB128(OffsetPtr); in extractValue()
290 Form = static_cast<dwarf::Form>(Data.getULEB128(OffsetPtr)); in extractValue()
312 Value.uval = Data.getULEB128(OffsetPtr); in extractValue()
DDWARFDebugRnglists.cpp64 Value0 = Data.getULEB128(OffsetPtr); in extract()
65 Value1 = Data.getULEB128(OffsetPtr); in extract()
93 Value1 = Data.getULEB128(OffsetPtr); in extract()
DDWARFDebugInfoEntry.cpp36 uint64_t AbbrCode = DebugInfoData.getULEB128(OffsetPtr); in extractFast()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugMacro.cpp63 E.Type = data.getULEB128(&Offset); in parse()
80 E.Line = data.getULEB128(&Offset); in parse()
86 E.Line = data.getULEB128(&Offset); in parse()
88 E.File = data.getULEB128(&Offset); in parse()
94 E.ExtConstant = data.getULEB128(&Offset); in parse()
DDWARFDebugLine.cpp113 fileEntry.DirIdx = debug_line_data.getULEB128(offset_ptr); in parse()
114 fileEntry.ModTime = debug_line_data.getULEB128(offset_ptr); in parse()
115 fileEntry.Length = debug_line_data.getULEB128(offset_ptr); in parse()
271 uint64_t len = debug_line_data.getULEB128(offset_ptr); in parse()
332 fileEntry.DirIdx = debug_line_data.getULEB128(offset_ptr); in parse()
333 fileEntry.ModTime = debug_line_data.getULEB128(offset_ptr); in parse()
334 fileEntry.Length = debug_line_data.getULEB128(offset_ptr); in parse()
340 State.Row.Discriminator = debug_line_data.getULEB128(offset_ptr); in parse()
364 debug_line_data.getULEB128(offset_ptr) * Prologue.MinInstLength; in parse()
376 State.Row.File = debug_line_data.getULEB128(offset_ptr); in parse()
[all …]
DDWARFAbbreviationDeclaration.cpp31 Code = Data.getULEB128(OffsetPtr); in extract()
35 Tag = Data.getULEB128(OffsetPtr); in extract()
41 uint16_t Attr = Data.getULEB128(OffsetPtr); in extract()
47 uint16_t Form = Data.getULEB128(OffsetPtr); in extract()
DDWARFDebugFrame.cpp121 addInstruction(Primary, Op1, Data.getULEB128(Offset)); in parseInstructions()
157 addInstruction(Opcode, Data.getULEB128(Offset)); in parseInstructions()
171 auto op1 = Data.getULEB128(Offset); in parseInstructions()
172 auto op2 = Data.getULEB128(Offset); in parseInstructions()
181 auto op1 = Data.getULEB128(Offset); in parseInstructions()
559 uint64_t CodeAlignmentFactor = Data.getULEB128(&Offset); in parse()
561 uint64_t ReturnAddressRegister = Data.getULEB128(&Offset); in parse()
598 AugmentationLength = Data.getULEB128(&Offset); in parse()
642 uint64_t AugmentationLength = Data.getULEB128(&Offset); in parse()
DDWARFFormValue.cpp162 Value.uval = data.getULEB128(offset_ptr); in extractValue()
205 Value.uval = data.getULEB128(offset_ptr); in extractValue()
211 Form = data.getULEB128(offset_ptr); in extractValue()
236 Value.uval = data.getULEB128(offset_ptr); in extractValue()
277 uint64_t size = debug_info_data.getULEB128(offset_ptr); in skipValue()
347 debug_info_data.getULEB128(offset_ptr); in skipValue()
352 form = debug_info_data.getULEB128(offset_ptr); in skipValue()
DDWARFDebugInfoEntry.cpp43 uint32_t abbrCode = debug_info_data.getULEB128(&offset); in dump()
191 uint64_t AbbrCode = DebugInfoData.getULEB128(OffsetPtr); in extractFast()
247 DebugInfoData.getULEB128(&DebugInfoOffset); in getAttributeValue()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Ddwarf2yaml.cpp134 NewEntry.AbbrCode = EntryData.getULEB128(&offset); in dumpDebugInfo()
234 File.DirIdx = Data.getULEB128(&Offset); in dumpFileEntry()
235 File.ModTime = Data.getULEB128(&Offset); in dumpFileEntry()
236 File.Length = Data.getULEB128(&Offset); in dumpFileEntry()
294 NewOp.ExtLen = LineData.getULEB128(&Offset); in dumpDebugLines()
325 NewOp.Data = LineData.getULEB128(&Offset); in dumpDebugLines()
339 NewOp.StandardOpcodeData.push_back(LineData.getULEB128(&Offset)); in dumpDebugLines()
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp96 while ((CurCode = AbbrevData.getULEB128(&Offset)) != AbbrCode) { in getCUAbbrev()
98 AbbrevData.getULEB128(&Offset); in getCUAbbrev()
102 while (AbbrevData.getULEB128(&Offset) | AbbrevData.getULEB128(&Offset)) in getCUAbbrev()
122 auto StrIndex = InfoData.getULEB128(&InfoOffset); in getIndexedString()
141 uint32_t AbbrCode = InfoData.getULEB128(&Offset); in getCUIdentifiers()
145 uint64_t Tag = AbbrevData.getULEB128(&AbbrevOffset); in getCUIdentifiers()
153 while ((Name = AbbrevData.getULEB128(&AbbrevOffset)) | in getCUIdentifiers()
154 (Form = AbbrevData.getULEB128(&AbbrevOffset)) && in getCUIdentifiers()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp99 while ((CurCode = AbbrevData.getULEB128(&Offset)) != AbbrCode) { in getCUAbbrev()
101 AbbrevData.getULEB128(&Offset); in getCUAbbrev()
105 while (AbbrevData.getULEB128(&Offset) | AbbrevData.getULEB128(&Offset)) in getCUAbbrev()
125 auto StrIndex = InfoData.getULEB128(&InfoOffset); in getIndexedString()
151 uint32_t AbbrCode = InfoData.getULEB128(&Offset); in getCUIdentifiers()
155 auto Tag = static_cast<dwarf::Tag>(AbbrevData.getULEB128(&AbbrevOffset)); in getCUIdentifiers()
163 while ((Name = AbbrevData.getULEB128(&AbbrevOffset)) | in getCUIdentifiers()
164 (Form = static_cast<dwarf::Form>(AbbrevData.getULEB128(&AbbrevOffset))) && in getCUIdentifiers()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DDataExtractorTest.cpp105 EXPECT_EQ(9382ULL, DE.getULEB128(&offset)); in TEST()
113 EXPECT_EQ(42218325750568106ULL, BDE.getULEB128(&offset)); in TEST()
/external/llvm/unittests/Support/
DDataExtractorTest.cpp105 EXPECT_EQ(9382ULL, DE.getULEB128(&offset)); in TEST()
113 EXPECT_EQ(42218325750568106ULL, BDE.getULEB128(&offset)); in TEST()

12